Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.823/1.823, allocations: 289.7 MB / 302.2 MB, free: 2.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 181.7 kB / 371.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008922/0.0008922, allocations: 95.67 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.146e-05/5.173e-05, allocations: 0 / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2668, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9676/1.234, allocations: 345.6 MB / 1.317 GB, free: 2.152 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/1.235, allocations: 85.66 kB / 1.317 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04238/1.277, allocations: 16.22 MB / 1.333 GB, free: 4.629 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.423e-06/1.277, allocations: 0 / 1.333 GB, free: 4.629 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.238e-05/1.277, allocations: 0 / 1.333 GB, free: 4.629 MB / 0.9011 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.0007745/1.278, allocations: 489.1 kB / 1.334 GB, free: 4.121 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.278, allocations: 12.03 kB / 1.334 GB, free: 4.109 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.162e-05/1.278, allocations: 52.86 kB / 1.334 GB, free: 4.059 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/1.28, allocations: 164.1 kB / 1.334 GB, free: 3.914 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/1.28, allocations: 210.5 kB / 1.334 GB, free: 3.676 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/1.28, allocations: 22.45 kB / 1.334 GB, free: 3.664 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/1.28, allocations: 15.44 kB / 1.334 GB, free: 3.652 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004542/1.281, allocations: 267.6 kB / 1.334 GB, free: 3.414 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/1.281, allocations: 15.92 kB / 1.334 GB, free: 3.398 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/1.281, allocations: 7.438 kB / 1.334 GB, free: 3.395 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/1.281, allocations: 9.422 kB / 1.334 GB, free: 3.387 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/1.281, allocations: 219.5 kB / 1.335 GB, free: 3.223 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/1.283, allocations: 1.381 MB / 1.336 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/1.283, allocations: 154.8 kB / 1.336 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/1.283, allocations: 58.3 kB / 1.336 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/1.283, allocations: 4 kB / 1.336 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/1.283, allocations: 37.75 kB / 1.336 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/1.283, allocations: 0 / 1.336 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18): time 0.0003761/1.284, allocations: 160.3 kB / 1.336 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/1.284, allocations: 63.3 kB / 1.336 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/1.284, allocations: 143.3 kB / 1.337 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/1.284, allocations: 29.7 kB / 1.337 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/1.284, allocations: 126.3 kB / 1.337 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/1.284, allocations: 61.84 kB / 1.337 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/1.284, allocations: 7.938 kB / 1.337 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.284, allocations: 329.6 kB / 1.337 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.706e-05/1.284, allocations: 49.95 kB / 1.337 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/1.285, allocations: 121 kB / 1.337 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/1.285, allocations: 63.84 kB / 1.337 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.285, allocations: 4 kB / 1.337 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003619/1.285, allocations: 222.9 kB / 1.338 GB, free: 336 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.285, allocations: 9.406 kB / 1.338 GB, free: 328 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.285, allocations: 3.984 kB / 1.338 GB, free: 324 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/1.285, allocations: 4 kB / 1.338 GB, free: 320 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/1.286, allocations: 75.77 kB / 1.338 GB, free: 248 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/1.286, allocations: 4 kB / 1.338 GB, free: 244 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/1.286, allocations: 35.72 kB / 1.338 GB, free: 212 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/1.286, allocations: 8 kB / 1.338 GB, free: 204 kB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * 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 0.0001075/1.286, allocations: 116.4 kB / 1.338 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/1.286, allocations: 19.8 kB / 1.338 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/1.286, allocations: 197 kB / 1.338 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/1.286, allocations: 4 kB / 1.338 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.287, allocations: 0 / 1.338 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/1.287, allocations: 3.984 kB / 1.338 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/1.287, allocations: 241.8 kB / 1.338 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.287, allocations: 8.438 kB / 1.338 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/1.287, allocations: 51.89 kB / 1.338 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/1.287, allocations: 0 / 1.338 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/1.287, allocations: 7.375 kB / 1.338 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.287, allocations: 0.625 kB / 1.338 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.287, allocations: 0.625 kB / 1.338 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/1.288, allocations: 275.1 kB / 1.339 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/1.288, allocations: 104.8 kB / 1.339 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/1.288, allocations: 7.734 kB / 1.339 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/1.288, allocations: 20.08 kB / 1.339 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/1.288, allocations: 15.97 kB / 1.339 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/1.288, allocations: 7.625 kB / 1.339 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.154e-05/1.288, allocations: 108.8 kB / 1.339 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/1.288, allocations: 4 kB / 1.339 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003369/1.288, allocations: 59.25 kB / 1.339 GB, free: 15.04 MB / 0.9167 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0007378/1.289, allocations: 0.8292 MB / 1.34 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002883/1.29, allocations: 150.6 kB / 1.34 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.29, allocations: 4 kB / 1.34 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/1.29, allocations: 74.97 kB / 1.34 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/1.29, allocations: 66.84 kB / 1.34 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008067/1.291, allocations: 259.9 kB / 1.34 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/1.291, allocations: 0.7232 MB / 1.341 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003338/1.292, allocations: 46.06 kB / 1.341 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/1.292, allocations: 46.84 kB / 1.341 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of SimCode: time 2.5e-07/1.292, allocations: 3.938 kB / 1.341 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/1.311, allocations: 4.574 MB / 1.346 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/1.311, allocations: 190.5 kB / 1.346 GB, free: 8.312 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/3.163, allocations: 5.25 kB / 1.346 GB, free: 8.309 MB / 0.9167 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)