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.8549/0.8549, allocations: 143.4 MB / 158.3 MB, free: 5.77 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.00179/0.001791, allocations: 184.5 kB / 191.5 MB, free: 5.742 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.613/1.613, allocations: 223.2 MB / 447.7 MB, free: 4.777 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.0009665/0.0009665, allocations: 92.33 kB / 0.5188 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001812/0.001812, allocations: 275.3 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004401, allocations: 12.97 kB / 0.6929 GB, free: 59.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1879, allocations: 82.8 MB / 0.7737 GB, free: 13.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8305/1.019, allocations: 316.9 MB / 1.083 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/1.019, allocations: 88.2 kB / 1.083 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04066/1.06, allocations: 16.78 MB / 1.1 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.224e-06/1.06, allocations: 0 / 1.1 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.368e-05/1.06, allocations: 8 kB / 1.1 GB, free: 6.281 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.0008071/1.06, allocations: 490.4 kB / 1.1 GB, free: 5.766 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/1.06, allocations: 12.03 kB / 1.1 GB, free: 5.754 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/1.062, allocations: 177.2 kB / 1.1 GB, free: 5.594 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/1.063, allocations: 217.1 kB / 1.101 GB, free: 5.352 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/1.063, allocations: 12.2 kB / 1.101 GB, free: 5.344 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/1.063, allocations: 15.56 kB / 1.101 GB, free: 5.332 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006081/1.063, allocations: 299.1 kB / 1.101 GB, free: 5.062 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/1.063, allocations: 4 kB / 1.101 GB, free: 5.059 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/1.063, allocations: 3.625 kB / 1.101 GB, free: 5.059 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/1.063, allocations: 8 kB / 1.101 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006428/1.064, allocations: 259.2 kB / 1.101 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/1.066, allocations: 1.393 MB / 1.102 GB, free: 3.418 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/1.066, allocations: 199.2 kB / 1.103 GB, free: 3.258 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/1.066, allocations: 3.938 kB / 1.103 GB, free: 3.254 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/1.066, allocations: 41.69 kB / 1.103 GB, free: 3.207 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 2.635e-06/1.066, allocations: 0 / 1.103 GB, free: 3.207 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0007248/1.067, allocations: 241.1 kB / 1.103 GB, free: 3.016 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/1.067, allocations: 55.41 kB / 1.103 GB, free: 2.949 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/1.067, allocations: 146.7 kB / 1.103 GB, free: 2.812 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/1.067, allocations: 28.89 kB / 1.103 GB, free: 2.781 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/1.068, allocations: 134.7 kB / 1.103 GB, free: 2.656 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/1.068, allocations: 66.48 kB / 1.103 GB, free: 2.598 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/1.068, allocations: 2.938 kB / 1.103 GB, free: 2.598 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.068, allocations: 333.7 kB / 1.104 GB, free: 2.27 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/1.068, allocations: 66.11 kB / 1.104 GB, free: 2.215 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/1.068, allocations: 144.4 kB / 1.104 GB, free: 2.07 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/1.068, allocations: 74.78 kB / 1.104 GB, free: 2.02 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.068, allocations: 0 / 1.104 GB, free: 2.02 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000528/1.069, allocations: 252.4 kB / 1.104 GB, free: 1.812 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/1.069, allocations: 4 kB / 1.104 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.069, allocations: 4.312 kB / 1.104 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/1.069, allocations: 8 kB / 1.104 GB, free: 1.797 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/1.069, allocations: 71.64 kB / 1.104 GB, free: 1.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/1.069, allocations: 4 kB / 1.104 GB, free: 1.727 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/1.07, allocations: 31.11 kB / 1.104 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/1.07, allocations: 11.98 kB / 1.104 GB, free: 1.688 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.0001274/1.07, allocations: 132.3 kB / 1.104 GB, free: 1.559 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/1.07, allocations: 19.81 kB / 1.104 GB, free: 1.539 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006159/1.071, allocations: 241.6 kB / 1.105 GB, free: 1.355 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/1.071, allocations: 0 / 1.105 GB, free: 1.355 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.071, allocations: 0 / 1.105 GB, free: 1.355 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.071, allocations: 0 / 1.105 GB, free: 1.355 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/1.071, allocations: 244.6 kB / 1.105 GB, free: 1.094 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.071, allocations: 0 / 1.105 GB, free: 1.094 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/1.071, allocations: 51.91 kB / 1.105 GB, free: 1.043 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/1.071, allocations: 0 / 1.105 GB, free: 1.043 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/1.071, allocations: 15.17 kB / 1.105 GB, free: 1.031 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.071, allocations: 0 / 1.105 GB, free: 1.031 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.071, allocations: 3.938 kB / 1.105 GB, free: 1.027 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/1.072, allocations: 287.5 kB / 1.105 GB, free: 0.7734 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/1.072, allocations: 112.7 kB / 1.105 GB, free: 0.6484 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/1.072, allocations: 8 kB / 1.105 GB, free: 0.6406 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/1.072, allocations: 18.86 kB / 1.105 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/1.072, allocations: 11.8 kB / 1.105 GB, free: 0.6172 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/1.072, allocations: 11.98 kB / 1.105 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 8.114e-05/1.072, allocations: 115.8 kB / 1.106 GB, free: 0.5039 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/1.072, allocations: 0 / 1.106 GB, free: 0.5039 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003761/1.073, allocations: 69.47 kB / 1.106 GB, free: 456 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.0002309/1.073, allocations: 140.4 kB / 1.106 GB, free: 312 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004909/1.073, allocations: 184.7 kB / 1.106 GB, free: 164 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.073, allocations: 0 / 1.106 GB, free: 164 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/1.074, allocations: 86.38 kB / 1.106 GB, free: 96 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/1.074, allocations: 64.02 kB / 1.106 GB, free: 44 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/1.075, allocations: 494.1 kB / 1.106 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/1.075, allocations: 0.7215 MB / 1.107 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003565/1.076, allocations: 53.91 kB / 1.107 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.038e-05/1.076, allocations: 27.42 kB / 1.107 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of SimCode: time 3.5e-07/1.076, allocations: 4 kB / 1.107 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of Templates: time 0.007201/1.083, allocations: 3.13 MB / 1.11 GB, free: 11.68 MB / 0.6823 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)