Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 194.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.209/1.209, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.437/2.437, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.77 kB / 0.8992 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2897, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002855/0.2926, allocations: 1.614 MB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009442/0.2936, allocations: 0.5453 MB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.2937, allocations: 0 / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.2937, allocations: 7.875 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.294, allocations: 39.75 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.2942, allocations: 43.89 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.2943, allocations: 111.6 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.2945, allocations: 16 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.2946, allocations: 47.84 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.2947, allocations: 51.81 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.2948, allocations: 8 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.356e-05/0.2948, allocations: 8 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.175e-05/0.2948, allocations: 23.86 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.2949, allocations: 55.77 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.2951, allocations: 87.97 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2951, allocations: 4 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2951, allocations: 0 / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.2951, allocations: 0 / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000713/0.2958, allocations: 395.2 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2959, allocations: 16.62 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.2959, allocations: 42.73 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.2959, allocations: 8.844 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.2961, allocations: 188.2 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.2961, allocations: 8.375 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.2962, allocations: 8.312 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.2964, allocations: 89.7 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2964, allocations: 0 / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.2964, allocations: 4 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2964, allocations: 0 / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.2965, allocations: 51.97 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/0.2971, allocations: 345.1 kB / 1.057 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.2974, allocations: 102.7 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.778e-05/0.2975, allocations: 48.78 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.2975, allocations: 3.938 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.2977, allocations: 95.34 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 3.486e-06/0.2977, allocations: 3.984 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0003283/0.2981, allocations: 141.6 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.778e-05/0.2982, allocations: 55.34 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.312e-05/0.2983, allocations: 129.7 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.2983, allocations: 37.7 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.2983, allocations: 92.36 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.2984, allocations: 35.55 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.2985, allocations: 25.7 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2986, allocations: 322.8 kB / 1.058 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.528e-05/0.2987, allocations: 27.98 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.08e-05/0.2987, allocations: 28 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.2988, allocations: 64.09 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2989, allocations: 4 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001882/0.299, allocations: 117.5 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2991, allocations: 5.719 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2991, allocations: 0 / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2991, allocations: 3.984 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.2992, allocations: 16 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2992, allocations: 0 / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.2993, allocations: 11.92 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.2994, allocations: 4 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.106e-05/0.2995, allocations: 127.4 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.2995, allocations: 7.906 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.2998, allocations: 142 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2998, allocations: 4 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2998, allocations: 0 / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.2998, allocations: 3.938 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.3, allocations: 221.4 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3, allocations: 0 / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.233e-05/0.3001, allocations: 23.98 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3001, allocations: 0 / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.3001, allocations: 8 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3001, allocations: 3.938 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3001, allocations: 0 / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.3004, allocations: 168.9 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.3004, allocations: 85.02 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.3005, allocations: 4 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3006, allocations: 11.98 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.3007, allocations: 19.92 kB / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.3007, allocations: 4 kB / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.95e-05/0.3007, allocations: 96.14 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3007, allocations: 0 / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002052/0.301, allocations: 20 kB / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005414/0.3015, allocations: 0.7092 MB / 1.06 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.3017, allocations: 83.91 kB / 1.06 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3017, allocations: 0 / 1.06 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.3018, allocations: 59.92 kB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.302, allocations: 7.938 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.3036, allocations: 1.453 MB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.3039, allocations: 0.7 MB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.948e-05/0.3039, allocations: 12.55 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.304, allocations: 35.42 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.304, allocations: 0 / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.323, allocations: 2.253 MB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.587/8.91, allocations: 14.14 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)