Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.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.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7752/0.7752, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 182.7 kB / 187.3 MB, free: 11.87 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.555/1.555, allocations: 221.3 MB / 441.4 MB, free: 4.664 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.0009971/0.0009973, allocations: 104.2 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001826/0.001827, allocations: 273 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.902e-05/4.914e-05, allocations: 4 kB / 0.6834 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5504/0.5504, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8886/1.439, allocations: 337.7 MB / 1.094 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/1.439, allocations: 81.48 kB / 1.094 GB, free: 3.871 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.029/1.468, allocations: 13.33 MB / 1.107 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/1.468, allocations: 0 / 1.107 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.62e-06/1.468, allocations: 0 / 1.107 GB, free: 9.32 MB / 0.6355 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.0003311/1.469, allocations: 346.1 kB / 1.108 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/1.469, allocations: 12.03 kB / 1.108 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.252e-05/1.469, allocations: 4 kB / 1.108 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/1.469, allocations: 163 kB / 1.108 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/1.469, allocations: 3.688 kB / 1.108 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/1.469, allocations: 7.906 kB / 1.108 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/1.469, allocations: 60.78 kB / 1.108 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.469, allocations: 4 kB / 1.108 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/1.469, allocations: 3.938 kB / 1.108 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/1.469, allocations: 0 / 1.108 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.413e-05/1.469, allocations: 23.23 kB / 1.108 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/1.47, allocations: 164.1 kB / 1.108 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.215e-05/1.47, allocations: 49.44 kB / 1.108 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/1.47, allocations: 16.55 kB / 1.108 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007732/1.47, allocations: 0.6203 MB / 1.109 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/1.471, allocations: 34.56 kB / 1.109 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/1.471, allocations: 0 / 1.109 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005834/1.471, allocations: 290.9 kB / 1.109 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/1.471, allocations: 55.36 kB / 1.109 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/1.471, allocations: 96.97 kB / 1.109 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/1.471, allocations: 36.95 kB / 1.109 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/1.471, allocations: 84.05 kB / 1.109 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/1.471, allocations: 23.22 kB / 1.109 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/1.471, allocations: 3.812 kB / 1.109 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.471, allocations: 314.8 kB / 1.109 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/1.472, allocations: 11.56 kB / 1.11 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.307e-05/1.472, allocations: 56.47 kB / 1.11 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.773e-05/1.472, allocations: 19.36 kB / 1.11 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/1.472, allocations: 0 / 1.11 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001318/1.472, allocations: 96.45 kB / 1.11 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.472, allocations: 4.125 kB / 1.11 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.472, allocations: 8 kB / 1.11 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.472, allocations: 4 kB / 1.11 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/1.472, allocations: 19.98 kB / 1.11 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.219e-05/1.472, allocations: 7.938 kB / 1.11 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.602e-05/1.472, allocations: 7.453 kB / 1.11 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/1.472, allocations: 4 kB / 1.11 GB, free: 6.43 MB / 0.6355 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 () * 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 7.967e-05/1.472, allocations: 108.1 kB / 1.11 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/1.472, allocations: 7.938 kB / 1.11 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/1.472, allocations: 11.72 kB / 1.11 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/1.472, allocations: 0 / 1.11 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1.472, allocations: 0 / 1.11 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/1.472, allocations: 0 / 1.11 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/1.472, allocations: 180.2 kB / 1.11 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.472, allocations: 0 / 1.11 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.548e-05/1.473, allocations: 19.98 kB / 1.11 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/1.473, allocations: 0 / 1.11 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/1.473, allocations: 3.938 kB / 1.11 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.473, allocations: 0.5469 kB / 1.11 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.473, allocations: 0 / 1.11 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/1.473, allocations: 179.7 kB / 1.11 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/1.473, allocations: 81.14 kB / 1.11 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/1.473, allocations: 4 kB / 1.11 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.179e-05/1.473, allocations: 3.938 kB / 1.11 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/1.473, allocations: 7.984 kB / 1.11 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/1.473, allocations: 3.438 kB / 1.11 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.349e-05/1.473, allocations: 79.66 kB / 1.11 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/1.473, allocations: 4 kB / 1.11 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000375/1.473, allocations: 15.38 kB / 1.11 GB, free: 5.676 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete 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.0001776/1.474, allocations: 130.7 kB / 1.111 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001015/1.474, allocations: 38.62 kB / 1.111 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.474, allocations: 0 / 1.111 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.275e-05/1.474, allocations: 12 kB / 1.111 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/1.474, allocations: 15.12 kB / 1.111 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/1.474, allocations: 276.2 kB / 1.111 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/1.475, allocations: 0.6809 MB / 1.112 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.087e-05/1.475, allocations: 11.98 kB / 1.112 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/1.475, allocations: 11.44 kB / 1.112 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/1.475, allocations: 0 / 1.112 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of Templates: time 0.003094/1.478, allocations: 0.9174 MB / 1.112 GB, free: 3.574 MB / 0.6355 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1)