Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) 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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.526/1.526, allocations: 289.9 MB / 297.4 MB, free: 6.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 180.9 kB / 366.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.2 MB / 0.626 GB, free: 7.145 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008138/0.0008138, allocations: 97.14 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.154e-05/1.157e-05, allocations: 0 / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5798/0.5799, allocations: 116.3 MB / 0.9732 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8516/1.432, allocations: 367.3 MB / 1.332 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/1.432, allocations: 65.97 kB / 1.332 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02407/1.456, allocations: 12.98 MB / 1.345 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.513e-06/1.456, allocations: 0 / 1.345 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.4e-06/1.456, allocations: 4 kB / 1.345 GB, free: 172.6 MB / 0.8542 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.0002496/1.456, allocations: 339.2 kB / 1.345 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.456, allocations: 9.625 kB / 1.345 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.313e-05/1.456, allocations: 3.219 kB / 1.345 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.971e-05/1.456, allocations: 181.7 kB / 1.345 GB, free: 172 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/1.456, allocations: 0 / 1.345 GB, free: 172 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/1.456, allocations: 3.156 kB / 1.345 GB, free: 172 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.973e-05/1.457, allocations: 13.61 kB / 1.345 GB, free: 172 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.491e-05/1.457, allocations: 58.23 kB / 1.345 GB, free: 172 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/1.457, allocations: 0 / 1.345 GB, free: 172 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/1.457, allocations: 0 / 1.345 GB, free: 172 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/1.457, allocations: 3.938 kB / 1.345 GB, free: 172 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/1.457, allocations: 140 kB / 1.345 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.234e-05/1.457, allocations: 45.12 kB / 1.345 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/1.457, allocations: 14.64 kB / 1.345 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006108/1.458, allocations: 0.6147 MB / 1.346 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/1.458, allocations: 35.69 kB / 1.346 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/1.458, allocations: 0 / 1.346 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004383/1.458, allocations: 275 kB / 1.346 GB, free: 170.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.721e-05/1.458, allocations: 59.34 kB / 1.346 GB, free: 170.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.414e-05/1.458, allocations: 100.3 kB / 1.346 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/1.458, allocations: 25.7 kB / 1.347 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.319e-05/1.458, allocations: 87.92 kB / 1.347 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/1.458, allocations: 22.78 kB / 1.347 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/1.458, allocations: 0 / 1.347 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.768e-05/1.458, allocations: 318.4 kB / 1.347 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/1.458, allocations: 10.97 kB / 1.347 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/1.458, allocations: 48.31 kB / 1.347 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.098e-05/1.458, allocations: 18.7 kB / 1.347 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/1.458, allocations: 0 / 1.347 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.645e-05/1.458, allocations: 87.17 kB / 1.347 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/1.458, allocations: 3.875 kB / 1.347 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/1.458, allocations: 4.156 kB / 1.347 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/1.458, allocations: 0 / 1.347 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.096e-05/1.459, allocations: 28.42 kB / 1.347 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/1.459, allocations: 3.938 kB / 1.347 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/1.459, allocations: 3.953 kB / 1.347 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/1.459, allocations: 3.844 kB / 1.347 GB, free: 170.1 MB / 0.8542 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 4.867e-05/1.459, allocations: 105.1 kB / 1.347 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/1.459, allocations: 11.86 kB / 1.347 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/1.459, allocations: 8.344 kB / 1.347 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/1.459, allocations: 0 / 1.347 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.459, allocations: 3.938 kB / 1.347 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/1.459, allocations: 1.781 kB / 1.347 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/1.459, allocations: 153.5 kB / 1.347 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.459, allocations: 0 / 1.347 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.153e-05/1.459, allocations: 18.17 kB / 1.347 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/1.459, allocations: 3.875 kB / 1.347 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/1.459, allocations: 3.938 kB / 1.347 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.459, allocations: 4 kB / 1.347 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.459, allocations: 0 / 1.347 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/1.459, allocations: 172.2 kB / 1.348 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/1.459, allocations: 85.02 kB / 1.348 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/1.459, allocations: 0 / 1.348 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.511e-05/1.459, allocations: 0 / 1.348 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/1.459, allocations: 3.875 kB / 1.348 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/1.459, allocations: 3.984 kB / 1.348 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.715e-05/1.459, allocations: 83.16 kB / 1.348 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.459, allocations: 0 / 1.348 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002279/1.46, allocations: 15.19 kB / 1.348 GB, free: 169.5 MB / 0.8542 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.0001368/1.46, allocations: 121.3 kB / 1.348 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.45e-05/1.46, allocations: 37.86 kB / 1.348 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/1.46, allocations: 3.688 kB / 1.348 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.552e-05/1.46, allocations: 7.719 kB / 1.348 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/1.46, allocations: 11.17 kB / 1.348 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/1.461, allocations: 269.5 kB / 1.348 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/1.461, allocations: 0.6927 MB / 1.349 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.997e-05/1.461, allocations: 11.67 kB / 1.349 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/1.461, allocations: 11.31 kB / 1.349 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of SimCode: time 2.3e-07/1.461, allocations: 7.938 kB / 1.349 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.002361/1.463, allocations: 0.7124 MB / 1.35 GB, free: 168.1 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)