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.664/1.664, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.0011/0.0011, allocations: 176.9 kB / 361.4 MB, free: 6.816 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.712/1.712, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.001108/0.001109, allocations: 98.88 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.626e-05/2.633e-05, allocations: 4 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6619/0.6619, allocations: 115.3 MB / 0.9644 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.995/1.657, allocations: 345.4 MB / 1.302 GB, free: 188.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/1.657, allocations: 77.86 kB / 1.302 GB, free: 188.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04168/1.699, allocations: 16.17 MB / 1.318 GB, free: 186.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.154e-06/1.699, allocations: 5.094 kB / 1.318 GB, free: 186.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.336e-05/1.699, allocations: 2.469 kB / 1.318 GB, free: 186.5 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.001033/1.7, allocations: 479.1 kB / 1.318 GB, free: 186 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/1.7, allocations: 10.09 kB / 1.318 GB, free: 186 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/1.702, allocations: 173.8 kB / 1.318 GB, free: 186 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/1.703, allocations: 212.1 kB / 1.318 GB, free: 185.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/1.703, allocations: 6.375 kB / 1.318 GB, free: 185.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/1.703, allocations: 9.625 kB / 1.318 GB, free: 185.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004502/1.703, allocations: 199.9 kB / 1.319 GB, free: 185.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/1.704, allocations: 231.6 kB / 1.319 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/1.704, allocations: 1.344 kB / 1.319 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/1.704, allocations: 1.469 kB / 1.319 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/1.704, allocations: 4.75 kB / 1.319 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/1.705, allocations: 1.338 MB / 1.32 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/1.706, allocations: 144.4 kB / 1.32 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/1.706, allocations: 57.08 kB / 1.32 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/1.706, allocations: 10 kB / 1.32 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/1.706, allocations: 39.88 kB / 1.32 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.134e-06/1.706, allocations: 0 / 1.32 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.000365/1.706, allocations: 140.9 kB / 1.321 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/1.706, allocations: 58.09 kB / 1.321 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/1.707, allocations: 127.3 kB / 1.321 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/1.707, allocations: 30.55 kB / 1.321 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/1.707, allocations: 129.8 kB / 1.321 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/1.707, allocations: 58.14 kB / 1.321 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/1.707, allocations: 0 / 1.321 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.971e-05/1.707, allocations: 325.8 kB / 1.321 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.527e-05/1.707, allocations: 49.64 kB / 1.321 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/1.707, allocations: 118 kB / 1.321 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/1.707, allocations: 58.75 kB / 1.321 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.707, allocations: 0.6562 kB / 1.321 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000381/1.708, allocations: 198.6 kB / 1.322 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.708, allocations: 5.406 kB / 1.322 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.708, allocations: 2.656 kB / 1.322 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/1.708, allocations: 4.438 kB / 1.322 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/1.708, allocations: 69.92 kB / 1.322 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/1.708, allocations: 10.05 kB / 1.322 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/1.708, allocations: 23.5 kB / 1.322 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/1.708, allocations: 15.48 kB / 1.322 GB, free: 183.2 MB / 0.8542 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 9.53e-05/1.708, allocations: 112 kB / 1.322 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002552/1.709, allocations: 150.5 kB / 1.322 GB, free: 183 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/1.709, allocations: 18.59 kB / 1.322 GB, free: 183 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/1.709, allocations: 174.4 kB / 1.322 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/1.709, allocations: 2.219 kB / 1.322 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.709, allocations: 4 kB / 1.322 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.709, allocations: 1 kB / 1.322 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/1.709, allocations: 213 kB / 1.322 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.709, allocations: 4.688 kB / 1.322 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/1.71, allocations: 50.06 kB / 1.322 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/1.71, allocations: 0.9375 kB / 1.322 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/1.71, allocations: 5.016 kB / 1.322 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/1.71, allocations: 1.031 kB / 1.322 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.71, allocations: 8 kB / 1.322 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/1.71, allocations: 250.3 kB / 1.323 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/1.71, allocations: 108.7 kB / 1.323 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/1.71, allocations: 0 / 1.323 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/1.711, allocations: 11.8 kB / 1.323 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/1.711, allocations: 13.52 kB / 1.323 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/1.711, allocations: 9.297 kB / 1.323 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.967e-05/1.711, allocations: 98.88 kB / 1.323 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.783e-06/1.711, allocations: 0 / 1.323 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004504/1.711, allocations: 64.98 kB / 1.323 GB, free: 182.3 MB / 0.8542 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.0006553/1.712, allocations: 0.8149 MB / 1.324 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000294/1.712, allocations: 139.8 kB / 1.324 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.712, allocations: 1.5 kB / 1.324 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/1.712, allocations: 70.89 kB / 1.324 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/1.713, allocations: 35.92 kB / 1.324 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009517/1.714, allocations: 252.9 kB / 1.324 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/1.714, allocations: 0.7238 MB / 1.325 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003685/1.714, allocations: 47.34 kB / 1.325 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/1.714, allocations: 49.34 kB / 1.325 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/1.714, allocations: 0 / 1.325 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/1.74, allocations: 3.745 MB / 1.329 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/1.74, allocations: 184.1 kB / 1.329 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/3.391, allocations: 0.8438 kB / 1.329 GB, free: 178.7 MB / 0.8542 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)