Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8259/0.8259, allocations: 140.1 MB / 156 MB, free: 5.168 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.0009701/0.0009702, allocations: 176.8 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.47/1.47, allocations: 205.4 MB / 426.3 MB, free: 8.387 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.000967/0.0009671, allocations: 94.36 kB / 0.4945 GB, free: 8.324 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001582/0.001582, allocations: 280.7 kB / 0.5729 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004704, allocations: 12 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4064, allocations: 79.3 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7191/1.126, allocations: 320.5 MB / 1.052 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003968/1.126, allocations: 79.7 kB / 1.053 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01995/1.146, allocations: 8.151 MB / 1.06 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.184e-06/1.146, allocations: 0 / 1.06 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.146, allocations: 0 / 1.06 GB, free: 0.6602 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004209/1.147, allocations: 358.8 kB / 1.061 GB, free: 268 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/1.147, allocations: 8.031 kB / 1.061 GB, free: 260 kB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/1.147, allocations: 12.84 kB / 1.061 GB, free: 248 kB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/1.147, allocations: 168.4 kB / 1.061 GB, free: 40 kB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/1.147, allocations: 7.562 kB / 1.061 GB, free: 36 kB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/1.147, allocations: 4.375 kB / 1.061 GB, free: 32 kB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/1.147, allocations: 70.2 kB / 1.061 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/1.147, allocations: 4.172 kB / 1.061 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/1.147, allocations: 3.938 kB / 1.061 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/1.147, allocations: 4 kB / 1.061 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.185e-05/1.147, allocations: 11.06 kB / 1.061 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007528/1.148, allocations: 468.6 kB / 1.062 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/1.148, allocations: 82.28 kB / 1.062 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/1.148, allocations: 18.7 kB / 1.062 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/1.148, allocations: 0 / 1.062 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/1.148, allocations: 45.64 kB / 1.062 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/1.148, allocations: 0 / 1.062 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0008195/1.149, allocations: 310.6 kB / 1.062 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.981e-05/1.149, allocations: 102.8 kB / 1.062 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/1.149, allocations: 97.84 kB / 1.062 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/1.15, allocations: 32.95 kB / 1.062 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.443e-05/1.15, allocations: 87.98 kB / 1.062 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/1.15, allocations: 31.05 kB / 1.062 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/1.15, allocations: 2.5 kB / 1.062 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.15, allocations: 322.4 kB / 1.063 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.072e-05/1.15, allocations: 14.92 kB / 1.063 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.323e-05/1.15, allocations: 51.58 kB / 1.063 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/1.15, allocations: 72.09 kB / 1.063 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.15, allocations: 0 / 1.063 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001776/1.15, allocations: 91.11 kB / 1.063 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/1.15, allocations: 8 kB / 1.063 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.15, allocations: 0 / 1.063 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/1.15, allocations: 4 kB / 1.063 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.458e-05/1.15, allocations: 20.11 kB / 1.063 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.15, allocations: 4 kB / 1.063 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/1.151, allocations: 6.188 kB / 1.063 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/1.151, allocations: 11.92 kB / 1.063 GB, free: 13.93 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.000124/1.151, allocations: 121.8 kB / 1.063 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.377e-05/1.151, allocations: 9.719 kB / 1.063 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.05e-05/1.151, allocations: 11.23 kB / 1.063 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.151, allocations: 0 / 1.063 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.151, allocations: 4 kB / 1.063 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.151, allocations: 4 kB / 1.063 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/1.151, allocations: 180.1 kB / 1.063 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.151, allocations: 0 / 1.063 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.827e-05/1.151, allocations: 16 kB / 1.063 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/1.151, allocations: 0 / 1.063 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/1.151, allocations: 0 / 1.063 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/1.151, allocations: 11.92 kB / 1.063 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.151, allocations: 0 / 1.063 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/1.152, allocations: 320 kB / 1.064 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/1.152, allocations: 96.17 kB / 1.064 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/1.152, allocations: 0 / 1.064 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/1.152, allocations: 4 kB / 1.064 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/1.152, allocations: 11.42 kB / 1.064 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/1.152, allocations: 8.438 kB / 1.064 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.415e-05/1.152, allocations: 83.2 kB / 1.064 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/1.152, allocations: 4 kB / 1.064 GB, free: 13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000338/1.153, allocations: 15.69 kB / 1.064 GB, free: 12.99 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0002021/1.153, allocations: 115.1 kB / 1.064 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001225/1.153, allocations: 42.42 kB / 1.064 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.153, allocations: 4 kB / 1.064 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.404e-05/1.153, allocations: 12.31 kB / 1.064 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/1.153, allocations: 15.56 kB / 1.064 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007381/1.154, allocations: 390.5 kB / 1.064 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/1.154, allocations: 0.6848 MB / 1.065 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.171e-05/1.154, allocations: 11.98 kB / 1.065 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/1.155, allocations: 11.44 kB / 1.065 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of SimCode: time 1.142e-06/1.155, allocations: 0 / 1.065 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of Templates: time 0.003045/1.158, allocations: 0.6082 MB / 1.066 GB, free: 11.08 MB / 0.6042 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)