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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.7725/0.7725, allocations: 140.1 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 183 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007536/0.0007536, allocations: 92.95 kB / 0.4945 GB, free: 8.426 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001672/0.001672, allocations: 265.4 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000558/0.0005582, allocations: 16 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4396/0.4401, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7615/1.202, allocations: 315.4 MB / 1.047 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003593/1.202, allocations: 83.2 kB / 1.048 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.0431/1.245, allocations: 16.48 MB / 1.064 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.075e-06/1.245, allocations: 0 / 1.064 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.892e-05/1.245, allocations: 4 kB / 1.064 GB, free: 14.3 MB / 0.6042 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.0009453/1.246, allocations: 489.2 kB / 1.064 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/1.246, allocations: 8.031 kB / 1.064 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/1.248, allocations: 170.4 kB / 1.064 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/1.249, allocations: 215.5 kB / 1.064 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/1.249, allocations: 15.52 kB / 1.064 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/1.249, allocations: 14.94 kB / 1.064 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006476/1.249, allocations: 302.3 kB / 1.065 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/1.249, allocations: 4.172 kB / 1.065 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/1.25, allocations: 18.17 kB / 1.065 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/1.25, allocations: 4 kB / 1.065 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006767/1.25, allocations: 264.4 kB / 1.065 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/1.252, allocations: 1.383 MB / 1.066 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006361/1.253, allocations: 193.2 kB / 1.067 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/1.253, allocations: 84.44 kB / 1.067 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/1.253, allocations: 3.984 kB / 1.067 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/1.253, allocations: 46.16 kB / 1.067 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.214e-06/1.253, allocations: 0 / 1.067 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0007247/1.254, allocations: 243.9 kB / 1.067 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/1.254, allocations: 55.41 kB / 1.067 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/1.254, allocations: 166.4 kB / 1.067 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/1.254, allocations: 29.52 kB / 1.067 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/1.254, allocations: 127.6 kB / 1.067 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.922e-05/1.254, allocations: 54.64 kB / 1.067 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/1.254, allocations: 3.938 kB / 1.067 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.254, allocations: 326.5 kB / 1.068 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/1.255, allocations: 68.66 kB / 1.068 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/1.255, allocations: 139 kB / 1.068 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/1.255, allocations: 218.8 kB / 1.068 GB, free: 9.824 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.255, allocations: 0 / 1.068 GB, free: 9.824 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005499/1.256, allocations: 257.5 kB / 1.068 GB, free: 9.613 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/1.256, allocations: 8.562 kB / 1.068 GB, free: 9.605 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.256, allocations: 4 kB / 1.068 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.256, allocations: 4 kB / 1.068 GB, free: 9.598 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/1.256, allocations: 68.2 kB / 1.068 GB, free: 9.531 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/1.256, allocations: 8 kB / 1.068 GB, free: 9.523 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/1.257, allocations: 35.23 kB / 1.068 GB, free: 9.492 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/1.257, allocations: 14.94 kB / 1.068 GB, free: 9.48 MB / 0.6042 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.000138/1.257, allocations: 128.6 kB / 1.069 GB, free: 9.352 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/1.257, allocations: 23.38 kB / 1.069 GB, free: 9.332 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005927/1.257, allocations: 228.2 kB / 1.069 GB, free: 9.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.257, allocations: 0 / 1.069 GB, free: 9.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.257, allocations: 4 kB / 1.069 GB, free: 9.156 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/1.257, allocations: 0 / 1.069 GB, free: 9.156 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/1.258, allocations: 248.9 kB / 1.069 GB, free: 8.891 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.258, allocations: 0 / 1.069 GB, free: 8.891 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/1.258, allocations: 47.97 kB / 1.069 GB, free: 8.844 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/1.258, allocations: 0 / 1.069 GB, free: 8.844 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/1.258, allocations: 11.3 kB / 1.069 GB, free: 8.836 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.258, allocations: 0 / 1.069 GB, free: 8.836 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.258, allocations: 0 / 1.069 GB, free: 8.836 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005201/1.259, allocations: 301.6 kB / 1.069 GB, free: 8.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/1.259, allocations: 104.8 kB / 1.07 GB, free: 8.449 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/1.259, allocations: 7.188 kB / 1.07 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/1.259, allocations: 27.34 kB / 1.07 GB, free: 8.422 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/1.259, allocations: 11.23 kB / 1.07 GB, free: 8.414 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/1.259, allocations: 8 kB / 1.07 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.883e-05/1.259, allocations: 115.8 kB / 1.07 GB, free: 8.305 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.11e-07/1.259, allocations: 0 / 1.07 GB, free: 8.305 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004243/1.26, allocations: 65.56 kB / 1.07 GB, free: 8.25 MB / 0.6042 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.0002631/1.26, allocations: 150 kB / 1.07 GB, free: 8.094 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005105/1.261, allocations: 187 kB / 1.07 GB, free: 7.945 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.261, allocations: 0 / 1.07 GB, free: 7.945 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/1.261, allocations: 82.83 kB / 1.07 GB, free: 7.883 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/1.261, allocations: 65.25 kB / 1.07 GB, free: 7.832 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/1.262, allocations: 493 kB / 1.071 GB, free: 7.352 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/1.263, allocations: 0.7137 MB / 1.071 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004335/1.263, allocations: 53.92 kB / 1.071 GB, free: 6.551 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.917e-05/1.263, allocations: 23.42 kB / 1.071 GB, free: 6.527 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/1.263, allocations: 0 / 1.071 GB, free: 6.527 MB / 0.6042 GB Notification: Performance of Templates: time 0.007499/1.271, allocations: 3.202 MB / 1.075 GB, free: 3.367 MB / 0.6042 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)