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: translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7934/0.7934, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001038/0.001038, allocations: 168.9 kB / 182.2 MB, free: 9.43 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.379/1.379, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0008343/0.0008344, allocations: 88.11 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001746/0.001746, allocations: 275.7 kB / 0.5889 GB, free: 54.62 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.257e-05/1.258e-05, allocations: 0 / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.3997, allocations: 82.78 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6744/1.074, allocations: 316.2 MB / 1.066 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/1.074, allocations: 83.08 kB / 1.066 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.04262/1.117, allocations: 16.66 MB / 1.082 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/1.117, allocations: 0 / 1.082 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.813e-05/1.117, allocations: 7.125 kB / 1.082 GB, free: 1.91 MB / 0.6198 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.0008129/1.118, allocations: 488.8 kB / 1.083 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/1.118, allocations: 8.031 kB / 1.083 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/1.12, allocations: 168.9 kB / 1.083 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/1.12, allocations: 208.9 kB / 1.083 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/1.12, allocations: 12 kB / 1.083 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/1.12, allocations: 11.98 kB / 1.083 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004327/1.121, allocations: 196.4 kB / 1.084 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/1.121, allocations: 240.3 kB / 1.084 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/1.121, allocations: 0 / 1.084 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/1.121, allocations: 0 / 1.084 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/1.121, allocations: 4 kB / 1.084 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/1.123, allocations: 1.348 MB / 1.085 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/1.123, allocations: 144.7 kB / 1.085 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.53e-05/1.123, allocations: 58.27 kB / 1.085 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/1.123, allocations: 0 / 1.085 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/1.123, allocations: 42.5 kB / 1.085 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/1.123, allocations: 0 / 1.085 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0003164/1.124, allocations: 143.9 kB / 1.085 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/1.124, allocations: 55.41 kB / 1.085 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/1.124, allocations: 126.1 kB / 1.086 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/1.124, allocations: 25.7 kB / 1.086 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/1.124, allocations: 118.7 kB / 1.086 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/1.124, allocations: 69.03 kB / 1.086 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/1.124, allocations: 4 kB / 1.086 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.124, allocations: 326.5 kB / 1.086 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.992e-05/1.124, allocations: 44.97 kB / 1.086 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/1.124, allocations: 119.4 kB / 1.086 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/1.125, allocations: 55.41 kB / 1.086 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.125, allocations: 4 kB / 1.086 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003519/1.125, allocations: 195.8 kB / 1.087 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.125, allocations: 8 kB / 1.087 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.125, allocations: 4 kB / 1.087 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/1.125, allocations: 4 kB / 1.087 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/1.125, allocations: 75.7 kB / 1.087 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.125, allocations: 8.25 kB / 1.087 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/1.126, allocations: 27.83 kB / 1.087 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/1.126, allocations: 11.98 kB / 1.087 GB, free: 13.67 MB / 0.6355 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.558e-05/1.126, allocations: 116.2 kB / 1.087 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/1.126, allocations: 15.81 kB / 1.087 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/1.126, allocations: 180.8 kB / 1.087 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.126, allocations: 0 / 1.087 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.126, allocations: 0 / 1.087 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.126, allocations: 0 / 1.087 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/1.126, allocations: 211 kB / 1.087 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/1.127, allocations: 3.953 kB / 1.087 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/1.127, allocations: 63.52 kB / 1.087 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/1.127, allocations: 0 / 1.087 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/1.127, allocations: 0 / 1.087 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/1.127, allocations: 4 kB / 1.087 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.127, allocations: 7.688 kB / 1.087 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/1.127, allocations: 245.2 kB / 1.087 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/1.127, allocations: 108.5 kB / 1.088 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/1.127, allocations: 15.94 kB / 1.088 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/1.128, allocations: 11.98 kB / 1.088 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/1.128, allocations: 11.98 kB / 1.088 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/1.128, allocations: 4 kB / 1.088 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.063e-05/1.128, allocations: 104 kB / 1.088 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/1.128, allocations: 0 / 1.088 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004143/1.128, allocations: 56.06 kB / 1.088 GB, free: 12.57 MB / 0.6355 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.000229/1.128, allocations: 139.1 kB / 1.088 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002892/1.129, allocations: 137.3 kB / 1.088 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.129, allocations: 4 kB / 1.088 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/1.129, allocations: 67.27 kB / 1.088 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/1.129, allocations: 39.2 kB / 1.088 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006333/1.13, allocations: 199 kB / 1.088 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/1.13, allocations: 0.7248 MB / 1.089 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003724/1.131, allocations: 49.83 kB / 1.089 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.952e-05/1.131, allocations: 26.86 kB / 1.089 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/1.131, allocations: 0 / 1.089 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of Templates: time 0.006093/1.137, allocations: 2.728 MB / 1.092 GB, free: 8.555 MB / 0.6355 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (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 & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)