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.696/1.696, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001129/0.001129, allocations: 185.7 kB / 371.6 MB, free: 3.348 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.821/1.821, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.0009024/0.0009023, allocations: 87.47 kB / 0.745 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.095e-05/4.097e-05, allocations: 8 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2985, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.074/1.373, allocations: 367.9 MB / 1.339 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/1.373, allocations: 73.17 kB / 1.339 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02894/1.402, allocations: 13.04 MB / 1.352 GB, free: 2.258 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.834e-06/1.402, allocations: 0 / 1.352 GB, free: 2.258 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.277e-06/1.402, allocations: 4 kB / 1.352 GB, free: 2.254 MB / 0.9167 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.0003891/1.403, allocations: 337.1 kB / 1.352 GB, free: 1.883 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/1.403, allocations: 8.031 kB / 1.352 GB, free: 1.875 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/1.403, allocations: 7.75 kB / 1.352 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/1.403, allocations: 168.1 kB / 1.352 GB, free: 1.668 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/1.403, allocations: 15.2 kB / 1.352 GB, free: 1.66 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/1.403, allocations: 4 kB / 1.352 GB, free: 1.656 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/1.403, allocations: 54.66 kB / 1.352 GB, free: 1.605 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/1.403, allocations: 0 / 1.352 GB, free: 1.605 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/1.403, allocations: 0 / 1.352 GB, free: 1.605 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/1.403, allocations: 3.938 kB / 1.352 GB, free: 1.602 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.994e-05/1.403, allocations: 23.78 kB / 1.353 GB, free: 1.582 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/1.404, allocations: 163.5 kB / 1.353 GB, free: 1.379 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/1.404, allocations: 61.25 kB / 1.353 GB, free: 1.32 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/1.404, allocations: 12.86 kB / 1.353 GB, free: 1.305 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000861/1.405, allocations: 0.6073 MB / 1.353 GB, free: 0.6055 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/1.405, allocations: 37.88 kB / 1.353 GB, free: 0.5625 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/1.405, allocations: 0 / 1.353 GB, free: 0.5625 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0006742/1.405, allocations: 302.1 kB / 1.354 GB, free: 240 kB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/1.405, allocations: 52.25 kB / 1.354 GB, free: 176 kB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/1.405, allocations: 92.38 kB / 1.354 GB, free: 80 kB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/1.405, allocations: 29.7 kB / 1.354 GB, free: 44 kB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.985e-05/1.406, allocations: 91.97 kB / 1.354 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/1.406, allocations: 27.03 kB / 1.354 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/1.406, allocations: 4 kB / 1.354 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.406, allocations: 318.6 kB / 1.354 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.672e-05/1.406, allocations: 8 kB / 1.354 GB, free: 15.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.185e-05/1.406, allocations: 52.77 kB / 1.354 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.629e-05/1.406, allocations: 20.86 kB / 1.354 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/1.406, allocations: 0 / 1.354 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001336/1.406, allocations: 100.2 kB / 1.354 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/1.406, allocations: 4 kB / 1.354 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/1.406, allocations: 4 kB / 1.354 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/1.406, allocations: 0 / 1.354 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.287e-05/1.406, allocations: 23.92 kB / 1.354 GB, free: 15.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/1.406, allocations: 8.734 kB / 1.354 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.661e-05/1.406, allocations: 7.875 kB / 1.354 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/1.406, allocations: 4 kB / 1.354 GB, free: 15.38 MB / 0.9323 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 8.881e-05/1.406, allocations: 113.7 kB / 1.355 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/1.406, allocations: 4 kB / 1.355 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.85e-05/1.406, allocations: 10.91 kB / 1.355 GB, free: 15.26 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/1.406, allocations: 4.562 kB / 1.355 GB, free: 15.26 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.406, allocations: 0 / 1.355 GB, free: 15.26 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/1.406, allocations: 3.953 kB / 1.355 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/1.407, allocations: 177.4 kB / 1.355 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.407, allocations: 5 kB / 1.355 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.534e-05/1.407, allocations: 19.98 kB / 1.355 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/1.407, allocations: 0 / 1.355 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/1.407, allocations: 0 / 1.355 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/1.407, allocations: 0 / 1.355 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.407, allocations: 0 / 1.355 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/1.407, allocations: 172.4 kB / 1.355 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/1.407, allocations: 81.14 kB / 1.355 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/1.407, allocations: 16.31 kB / 1.355 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.071e-05/1.407, allocations: 0 / 1.355 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/1.407, allocations: 7.984 kB / 1.355 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/1.407, allocations: 3.438 kB / 1.355 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 3.926e-05/1.407, allocations: 79.28 kB / 1.355 GB, free: 14.65 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/1.407, allocations: 0 / 1.355 GB, free: 14.65 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002194/1.408, allocations: 15.94 kB / 1.355 GB, free: 14.64 MB / 0.9323 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.0001805/1.408, allocations: 124.2 kB / 1.355 GB, free: 14.51 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000104/1.408, allocations: 38.97 kB / 1.355 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.408, allocations: 256 / 1.355 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 2.216e-05/1.408, allocations: 23.12 kB / 1.355 GB, free: 14.46 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/1.408, allocations: 14.2 kB / 1.355 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005059/1.409, allocations: 282.4 kB / 1.356 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/1.409, allocations: 0.6848 MB / 1.356 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 6.609e-05/1.409, allocations: 11.98 kB / 1.356 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/1.409, allocations: 11.44 kB / 1.356 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of SimCode: time 2.3e-07/1.409, allocations: 0 / 1.356 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of Templates: time 0.003087/1.412, allocations: 0.9044 MB / 1.357 GB, free: 12.57 MB / 0.9323 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)