Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.798/0.798, allocations: 143.3 MB / 158.3 MB, free: 5.785 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.001105/0.001105, allocations: 185 kB / 191.5 MB, free: 5.766 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.504/1.504, allocations: 223.2 MB / 447.7 MB, free: 4.832 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.001038/0.001038, allocations: 92.31 kB / 0.5187 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001828/0.001828, allocations: 268.7 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004417, allocations: 15 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1681, allocations: 82.79 MB / 0.7738 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7697/0.9379, allocations: 316.9 MB / 1.083 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.9383, allocations: 83.77 kB / 1.083 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04095/0.9792, allocations: 16.8 MB / 1.1 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.559e-06/0.9793, allocations: 0 / 1.1 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.755e-05/0.9793, allocations: 7.938 kB / 1.1 GB, free: 6.355 MB / 0.6667 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.0008766/0.9802, allocations: 489.8 kB / 1.1 GB, free: 5.84 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.9803, allocations: 8.031 kB / 1.1 GB, free: 5.832 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.08e-05/0.9803, allocations: 52.98 kB / 1.1 GB, free: 5.781 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/0.9823, allocations: 176.2 kB / 1.1 GB, free: 5.625 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.9826, allocations: 221.9 kB / 1.101 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.9826, allocations: 11.2 kB / 1.101 GB, free: 5.371 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.9827, allocations: 15.5 kB / 1.101 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006332/0.9833, allocations: 298.8 kB / 1.101 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.9833, allocations: 0 / 1.101 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.9834, allocations: 19.06 kB / 1.101 GB, free: 5.074 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.9834, allocations: 4 kB / 1.101 GB, free: 5.07 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006444/0.984, allocations: 256.7 kB / 1.101 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.9857, allocations: 1.397 MB / 1.103 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.9864, allocations: 194.2 kB / 1.103 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.9864, allocations: 4 kB / 1.103 GB, free: 3.277 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.9865, allocations: 34.19 kB / 1.103 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.9865, allocations: 0 / 1.103 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0007403/0.9872, allocations: 246.4 kB / 1.103 GB, free: 3.039 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.9873, allocations: 55.34 kB / 1.103 GB, free: 2.973 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.9874, allocations: 149.2 kB / 1.103 GB, free: 2.836 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.9875, allocations: 29.7 kB / 1.103 GB, free: 2.801 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 8.124e-05/0.9875, allocations: 122 kB / 1.103 GB, free: 2.688 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.855e-05/0.9876, allocations: 71.84 kB / 1.103 GB, free: 2.629 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.9876, allocations: 11.69 kB / 1.103 GB, free: 2.621 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.9878, allocations: 322.7 kB / 1.104 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.988, allocations: 70.78 kB / 1.104 GB, free: 2.246 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.9882, allocations: 145.5 kB / 1.104 GB, free: 2.094 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.9884, allocations: 75.41 kB / 1.104 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9884, allocations: 0 / 1.104 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005543/0.989, allocations: 249.4 kB / 1.104 GB, free: 1.84 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.989, allocations: 8 kB / 1.104 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.989, allocations: 0 / 1.104 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.9891, allocations: 4 kB / 1.104 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.9894, allocations: 70.95 kB / 1.104 GB, free: 1.762 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.9895, allocations: 4 kB / 1.104 GB, free: 1.758 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.9897, allocations: 31.23 kB / 1.104 GB, free: 1.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.9898, allocations: 12.05 kB / 1.104 GB, free: 1.719 MB / 0.6667 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.0001278/0.9899, allocations: 139.4 kB / 1.105 GB, free: 1.586 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.99, allocations: 15.81 kB / 1.105 GB, free: 1.57 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006111/0.9906, allocations: 236.2 kB / 1.105 GB, free: 1.387 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.9906, allocations: 4 kB / 1.105 GB, free: 1.383 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.9906, allocations: 3.938 kB / 1.105 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.9906, allocations: 0 / 1.105 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.9909, allocations: 244.1 kB / 1.105 GB, free: 1.121 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.9909, allocations: 0 / 1.105 GB, free: 1.121 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.9912, allocations: 51.91 kB / 1.105 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.9913, allocations: 4 kB / 1.105 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.9913, allocations: 7.297 kB / 1.105 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.9913, allocations: 0 / 1.105 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9913, allocations: 0 / 1.105 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/0.9919, allocations: 301.4 kB / 1.105 GB, free: 0.793 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.992, allocations: 108.6 kB / 1.105 GB, free: 0.6719 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.9921, allocations: 3.438 kB / 1.105 GB, free: 0.6719 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.9924, allocations: 23.39 kB / 1.106 GB, free: 0.6523 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.9924, allocations: 11.98 kB / 1.106 GB, free: 0.6406 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.9924, allocations: 11.36 kB / 1.106 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 9.349e-05/0.9925, allocations: 117 kB / 1.106 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9925, allocations: 0 / 1.106 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004436/0.993, allocations: 67.38 kB / 1.106 GB, free: 480 kB / 0.6667 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.0009708/0.994, allocations: 0.8641 MB / 1.107 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005129/0.9945, allocations: 188.6 kB / 1.107 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.9945, allocations: 0 / 1.107 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.9947, allocations: 87.17 kB / 1.107 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.9952, allocations: 58.91 kB / 1.107 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.998, allocations: 2.612 MB / 1.109 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.9983, allocations: 0.7214 MB / 1.11 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003853/0.9987, allocations: 57.91 kB / 1.11 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.9988, allocations: 42.67 kB / 1.11 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of SimCode: time 8.51e-07/0.9988, allocations: 0 / 1.11 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/1.016, allocations: 4.709 MB / 1.115 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/1.016, allocations: 223.6 kB / 1.115 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.856, allocations: 0 / 1.115 GB, free: 7.25 MB / 0.6823 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)