Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.613/1.613, allocations: 288.2 MB / 303.2 MB, free: 8.184 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.001028/0.001028, allocations: 181 kB / 371.8 MB, free: 10.3 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.635/1.635, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 95.84 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004532/0.000453, allocations: 11.06 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2939, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.426, allocations: 346.1 MB / 1.317 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/1.426, allocations: 81.58 kB / 1.318 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.04437/1.471, allocations: 16.29 MB / 1.333 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.468e-06/1.471, allocations: 3.938 kB / 1.333 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.781e-05/1.471, allocations: 4 kB / 1.333 GB, free: 3.789 MB / 0.8542 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.001168/1.472, allocations: 481.8 kB / 1.334 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.863e-05/1.472, allocations: 12.02 kB / 1.334 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/1.472, allocations: 56.06 kB / 1.334 GB, free: 3.215 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/1.474, allocations: 173.2 kB / 1.334 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/1.475, allocations: 212.1 kB / 1.334 GB, free: 2.82 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/1.475, allocations: 19.45 kB / 1.334 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/1.475, allocations: 11.25 kB / 1.334 GB, free: 2.801 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007477/1.475, allocations: 306.5 kB / 1.335 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/1.475, allocations: 0 / 1.335 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/1.476, allocations: 7 kB / 1.335 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/1.476, allocations: 4 kB / 1.335 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007098/1.476, allocations: 263.2 kB / 1.335 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/1.478, allocations: 1.391 MB / 1.336 GB, free: 0.8828 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006327/1.479, allocations: 189.6 kB / 1.337 GB, free: 0.7266 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/1.479, allocations: 4 kB / 1.337 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/1.479, allocations: 42.3 kB / 1.337 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 4.569e-06/1.479, allocations: 4 kB / 1.337 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0007714/1.48, allocations: 243.8 kB / 1.337 GB, free: 488 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/1.48, allocations: 55.34 kB / 1.337 GB, free: 420 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/1.48, allocations: 148.9 kB / 1.337 GB, free: 280 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/1.48, allocations: 29.7 kB / 1.337 GB, free: 244 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.123e-05/1.48, allocations: 129.7 kB / 1.337 GB, free: 120 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.507e-05/1.48, allocations: 69.52 kB / 1.337 GB, free: 60 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/1.48, allocations: 0 / 1.337 GB, free: 60 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.48, allocations: 324.6 kB / 1.338 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/1.481, allocations: 64.86 kB / 1.338 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/1.481, allocations: 141.1 kB / 1.338 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/1.481, allocations: 76.53 kB / 1.338 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.481, allocations: 4 kB / 1.338 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006667/1.482, allocations: 247 kB / 1.338 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/1.482, allocations: 5.406 kB / 1.338 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/1.482, allocations: 4 kB / 1.338 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/1.482, allocations: 4 kB / 1.338 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/1.482, allocations: 71.27 kB / 1.338 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/1.482, allocations: 4.312 kB / 1.338 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/1.483, allocations: 35.05 kB / 1.338 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/1.483, allocations: 19.56 kB / 1.338 GB, free: 15.16 MB / 0.8698 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 () * Number of clocked 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.0001706/1.483, allocations: 130.2 kB / 1.338 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/1.483, allocations: 15.81 kB / 1.338 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006504/1.484, allocations: 230.2 kB / 1.339 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/1.484, allocations: 0 / 1.339 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.484, allocations: 0 / 1.339 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.484, allocations: 4 kB / 1.339 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/1.484, allocations: 240.6 kB / 1.339 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.484, allocations: 3.938 kB / 1.339 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/1.484, allocations: 47.97 kB / 1.339 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.484, allocations: 0 / 1.339 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/1.484, allocations: 6.859 kB / 1.339 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/1.484, allocations: 4 kB / 1.339 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.484, allocations: 0 / 1.339 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005301/1.485, allocations: 299.9 kB / 1.339 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/1.485, allocations: 116.6 kB / 1.339 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/1.485, allocations: 0 / 1.339 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/1.485, allocations: 19.3 kB / 1.339 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/1.486, allocations: 15.86 kB / 1.339 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/1.486, allocations: 8 kB / 1.339 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001217/1.486, allocations: 120.7 kB / 1.339 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/1.486, allocations: 0 / 1.339 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004123/1.486, allocations: 63.25 kB / 1.339 GB, free: 13.93 MB / 0.8698 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 () * Number of clocked 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.001013/1.487, allocations: 0.8623 MB / 1.34 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005194/1.488, allocations: 177.4 kB / 1.34 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.488, allocations: 4 kB / 1.34 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/1.488, allocations: 83.7 kB / 1.341 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/1.488, allocations: 62.77 kB / 1.341 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/1.491, allocations: 2.602 MB / 1.343 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/1.492, allocations: 0.7176 MB / 1.344 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003798/1.492, allocations: 49.94 kB / 1.344 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/1.492, allocations: 47.92 kB / 1.344 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of SimCode: time 7.41e-07/1.492, allocations: 0 / 1.344 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/1.515, allocations: 4.582 MB / 1.348 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/1.515, allocations: 234.6 kB / 1.349 GB, free: 4.797 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/3.404, allocations: 2.75 kB / 1.349 GB, free: 4.797 MB / 0.8698 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)