Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8755/0.8755, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 176.9 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.688/1.688, allocations: 221.5 MB / 436.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 104 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001855/0.001855, allocations: 280.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.219e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5172/0.5173, allocations: 82.77 MB / 0.7574 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9405/1.458, allocations: 397.2 MB / 1.145 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004009/1.458, allocations: 65.53 kB / 1.145 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5719/2.03, allocations: 25.77 MB / 1.171 GB, free: 271 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.382e-06/2.03, allocations: 3.281 kB / 1.171 GB, free: 271 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.308e-05/2.03, allocations: 3.469 kB / 1.171 GB, free: 271 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009368/2.031, allocations: 0.4884 MB / 1.171 GB, free: 270.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/2.031, allocations: 14.36 kB / 1.171 GB, free: 270.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/2.032, allocations: 20.34 kB / 1.171 GB, free: 270.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/2.032, allocations: 209.5 kB / 1.171 GB, free: 270.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/2.032, allocations: 5.344 kB / 1.171 GB, free: 270.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/2.032, allocations: 8.594 kB / 1.171 GB, free: 270.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007438/2.033, allocations: 413.4 kB / 1.172 GB, free: 270.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/2.033, allocations: 222.2 kB / 1.172 GB, free: 270.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/2.033, allocations: 0 / 1.172 GB, free: 270.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/2.033, allocations: 1.25 kB / 1.172 GB, free: 270.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/2.033, allocations: 8.125 kB / 1.172 GB, free: 270.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009646/2.034, allocations: 0.9823 MB / 1.173 GB, free: 269.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/2.035, allocations: 137.8 kB / 1.173 GB, free: 269.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/2.035, allocations: 57.2 kB / 1.173 GB, free: 269.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/2.036, allocations: 1.946 MB / 1.175 GB, free: 267.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/2.036, allocations: 43.91 kB / 1.175 GB, free: 267.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/2.036, allocations: 0 / 1.175 GB, free: 267.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0005377/2.037, allocations: 121.2 kB / 1.175 GB, free: 267.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/2.037, allocations: 57.53 kB / 1.175 GB, free: 267.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/2.037, allocations: 140.1 kB / 1.175 GB, free: 267.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/2.037, allocations: 27.39 kB / 1.175 GB, free: 267.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/2.037, allocations: 144.3 kB / 1.175 GB, free: 267.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/2.037, allocations: 52.44 kB / 1.175 GB, free: 267.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/2.037, allocations: 0 / 1.175 GB, free: 267.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.768e-05/2.037, allocations: 324.6 kB / 1.176 GB, free: 266.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-05/2.037, allocations: 29.12 kB / 1.176 GB, free: 266.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/2.037, allocations: 134.7 kB / 1.176 GB, free: 266.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/2.038, allocations: 77.3 kB / 1.176 GB, free: 266.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/2.038, allocations: 1.219 kB / 1.176 GB, free: 266.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005596/2.038, allocations: 211.4 kB / 1.176 GB, free: 266.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/2.038, allocations: 5.5 kB / 1.176 GB, free: 266.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/2.038, allocations: 7.25 kB / 1.176 GB, free: 266.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/2.038, allocations: 9.75 kB / 1.176 GB, free: 266.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/2.039, allocations: 54.27 kB / 1.176 GB, free: 266.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/2.039, allocations: 11.75 kB / 1.176 GB, free: 266.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/2.039, allocations: 15.94 kB / 1.176 GB, free: 266.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/2.039, allocations: 12.94 kB / 1.176 GB, free: 266.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.35e-05/2.039, allocations: 119.1 kB / 1.176 GB, free: 266.5 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004064/2.039, allocations: 135.9 kB / 1.177 GB, free: 266.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/2.039, allocations: 11.5 kB / 1.177 GB, free: 266.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005447/2.04, allocations: 169.4 kB / 1.177 GB, free: 266.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/2.04, allocations: 2.156 kB / 1.177 GB, free: 266.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/2.04, allocations: 4.25 kB / 1.177 GB, free: 266.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/2.04, allocations: 3.953 kB / 1.177 GB, free: 266.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/2.04, allocations: 190.1 kB / 1.177 GB, free: 266.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/2.04, allocations: 0 / 1.177 GB, free: 266.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/2.04, allocations: 30.31 kB / 1.177 GB, free: 266.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/2.04, allocations: 6.125 kB / 1.177 GB, free: 266.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/2.04, allocations: 1.25 kB / 1.177 GB, free: 266.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/2.04, allocations: 1.219 kB / 1.177 GB, free: 266.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/2.04, allocations: 0 / 1.177 GB, free: 266.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/2.041, allocations: 236.5 kB / 1.177 GB, free: 266.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-05/2.041, allocations: 114.4 kB / 1.177 GB, free: 266 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/2.041, allocations: 1.125 kB / 1.177 GB, free: 266 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/2.041, allocations: 19.09 kB / 1.177 GB, free: 266 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/2.041, allocations: 11.86 kB / 1.177 GB, free: 266 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/2.041, allocations: 9.438 kB / 1.177 GB, free: 266 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.435e-05/2.041, allocations: 108.9 kB / 1.177 GB, free: 265.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/2.041, allocations: 0.5625 kB / 1.177 GB, free: 265.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005417/2.042, allocations: 77.62 kB / 1.178 GB, free: 265.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009521/2.043, allocations: 0.8942 MB / 1.178 GB, free: 265.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002786/2.043, allocations: 107.2 kB / 1.178 GB, free: 265.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/2.043, allocations: 0 / 1.178 GB, free: 265.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.378e-05/2.043, allocations: 38.47 kB / 1.179 GB, free: 265.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/2.044, allocations: 36.28 kB / 1.179 GB, free: 265.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008018/2.044, allocations: 218.9 kB / 1.179 GB, free: 265.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/2.045, allocations: 0.7235 MB / 1.179 GB, free: 264.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001661/2.045, allocations: 41.03 kB / 1.18 GB, free: 264.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/2.045, allocations: 47.22 kB / 1.18 GB, free: 264.3 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/2.045, allocations: 0 / 1.18 GB, free: 264.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/2.073, allocations: 4.225 MB / 1.184 GB, free: 264.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/2.073, allocations: 161.2 kB / 1.184 GB, free: 263.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/3.972, allocations: 0 / 1.184 GB, free: 263.9 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)