Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 182.7 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6045/0.6045, allocations: 87.49 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 349.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009828/0.0009827, allocations: 103.2 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 55.91 kB / 0.4891 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3253, allocations: 70.06 MB / 0.5575 GB, free: 44.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002976/0.3283, allocations: 1.315 MB / 0.5588 GB, free: 43.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003059/0.3314, allocations: 3.233 MB / 0.5619 GB, free: 40.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.3315, allocations: 0 / 0.5619 GB, free: 40.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.3315, allocations: 0 / 0.5619 GB, free: 40.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.9e-05/0.3316, allocations: 11.94 kB / 0.5619 GB, free: 40.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.332, allocations: 95.55 kB / 0.562 GB, free: 40.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.601e-05/0.3321, allocations: 31.91 kB / 0.5621 GB, free: 40.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.3321, allocations: 7.969 kB / 0.5621 GB, free: 40.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.098e-05/0.3322, allocations: 19.94 kB / 0.5621 GB, free: 40.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.3323, allocations: 23.91 kB / 0.5621 GB, free: 40.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.3323, allocations: 0 / 0.5621 GB, free: 40.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.3325, allocations: 75.81 kB / 0.5622 GB, free: 40.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.3325, allocations: 15.97 kB / 0.5622 GB, free: 40.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.3326, allocations: 11.94 kB / 0.5622 GB, free: 40.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.3328, allocations: 69.89 kB / 0.5623 GB, free: 40.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3328, allocations: 0 / 0.5623 GB, free: 40.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.3328, allocations: 0 / 0.5623 GB, free: 40.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.3328, allocations: 4 kB / 0.5623 GB, free: 40.29 MB / 410.7 MB 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.0004451/0.3332, allocations: 347.5 kB / 0.5626 GB, free: 39.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3333, allocations: 8.031 kB / 0.5626 GB, free: 39.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.3334, allocations: 8.938 kB / 0.5626 GB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.667e-05/0.3335, allocations: 168.3 kB / 0.5628 GB, free: 39.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.3335, allocations: 8.375 kB / 0.5628 GB, free: 39.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.3336, allocations: 8.281 kB / 0.5628 GB, free: 39.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.3337, allocations: 57.8 kB / 0.5628 GB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3337, allocations: 0 / 0.5628 GB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3337, allocations: 0 / 0.5628 GB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3337, allocations: 0 / 0.5628 GB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.606e-05/0.3338, allocations: 19.98 kB / 0.5629 GB, free: 39.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.334, allocations: 169.6 kB / 0.563 GB, free: 39.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.421e-05/0.334, allocations: 50.5 kB / 0.5631 GB, free: 39.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/0.3341, allocations: 16.86 kB / 0.5631 GB, free: 39.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005801/0.3347, allocations: 0.5987 MB / 0.5637 GB, free: 38.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.3347, allocations: 30.56 kB / 0.5637 GB, free: 38.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3347, allocations: 4 kB / 0.5637 GB, free: 38.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005328/0.3352, allocations: 302.6 kB / 0.564 GB, free: 38.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.3353, allocations: 55.34 kB / 0.5641 GB, free: 38.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.034e-05/0.3353, allocations: 101.8 kB / 0.5641 GB, free: 38.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.3354, allocations: 25.7 kB / 0.5642 GB, free: 37.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.3354, allocations: 84.05 kB / 0.5643 GB, free: 37.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.3354, allocations: 31.7 kB / 0.5643 GB, free: 37.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.3355, allocations: 29.72 kB / 0.5643 GB, free: 37.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.3355, allocations: 318.8 kB / 0.5646 GB, free: 37.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.3355, allocations: 16.05 kB / 0.5646 GB, free: 37.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.76e-05/0.3356, allocations: 57.08 kB / 0.5647 GB, free: 37.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.61e-05/0.3357, allocations: 77.09 kB / 0.5648 GB, free: 37.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3357, allocations: 0 / 0.5648 GB, free: 37.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001049/0.3358, allocations: 97.69 kB / 0.5649 GB, free: 37.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3358, allocations: 8 kB / 0.5649 GB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3358, allocations: 4.125 kB / 0.5649 GB, free: 37.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3358, allocations: 8.031 kB / 0.5649 GB, free: 37.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.3359, allocations: 23.92 kB / 0.5649 GB, free: 37.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3359, allocations: 3.938 kB / 0.5649 GB, free: 37.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.671e-05/0.336, allocations: 7.938 kB / 0.5649 GB, free: 37.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.336, allocations: 4 kB / 0.5649 GB, free: 37.18 MB / 410.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.616e-05/0.336, allocations: 117.7 kB / 0.565 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.3361, allocations: 4 kB / 0.565 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.3361, allocations: 11.95 kB / 0.565 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3361, allocations: 8 kB / 0.565 GB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3361, allocations: 0 / 0.565 GB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3361, allocations: 3.938 kB / 0.565 GB, free: 37.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.3364, allocations: 173.7 kB / 0.5652 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3364, allocations: 0 / 0.5652 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.832e-05/0.3364, allocations: 12 kB / 0.5652 GB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3365, allocations: 0 / 0.5652 GB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3365, allocations: 7.984 kB / 0.5652 GB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3365, allocations: 0 / 0.5652 GB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3365, allocations: 0 / 0.5652 GB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000627/0.3371, allocations: 1.07 MB / 0.5663 GB, free: 35.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.3371, allocations: 85.02 kB / 0.5664 GB, free: 35.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-06/0.3372, allocations: 7.938 kB / 0.5664 GB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/0.3373, allocations: 8.031 kB / 0.5664 GB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.3373, allocations: 4 kB / 0.5664 GB, free: 35.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3373, allocations: 0 / 0.5664 GB, free: 35.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.185e-05/0.3373, allocations: 83.28 kB / 0.5665 GB, free: 35.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3373, allocations: 0 / 0.5665 GB, free: 35.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002912/0.3376, allocations: 12 kB / 0.5665 GB, free: 35.36 MB / 410.7 MB 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001078/0.3377, allocations: 115.4 kB / 0.5666 GB, free: 35.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.808e-05/0.3379, allocations: 39.92 kB / 0.5666 GB, free: 35.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3379, allocations: 4 kB / 0.5666 GB, free: 35.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.903e-05/0.3379, allocations: 12 kB / 0.5666 GB, free: 35.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.3382, allocations: 19.48 kB / 0.5667 GB, free: 35.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.3388, allocations: 454.8 kB / 0.5671 GB, free: 34.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.3389, allocations: 0.6892 MB / 0.5678 GB, free: 33.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.526e-05/0.3389, allocations: 0 / 0.5678 GB, free: 33.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.339, allocations: 19.42 kB / 0.5678 GB, free: 33.95 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.339, allocations: 7.938 kB / 0.5678 GB, free: 33.94 MB / 410.7 MB Notification: Performance of Templates: time 0.002611/0.3416, allocations: 0.6374 MB / 0.5684 GB, free: 33.3 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)