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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 108.2 kB / 17.03 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.00185, allocations: 190.9 kB / 17.97 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6919/0.6919, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3397, allocations: 76.14 MB / 0.5575 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002072/0.3419, allocations: 1.247 MB / 0.5588 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003019/0.3449, allocations: 3.263 MB / 0.562 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.875e-05/0.3449, allocations: 1.031 kB / 0.562 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.345, allocations: 5.469 kB / 0.562 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.175e-05/0.345, allocations: 2.688 kB / 0.562 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.3455, allocations: 112.5 kB / 0.5621 GB, free: 33.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.401e-05/0.3456, allocations: 31.58 kB / 0.5621 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.3456, allocations: 3.266 kB / 0.5621 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.207e-05/0.3457, allocations: 24.33 kB / 0.5621 GB, free: 33.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.892e-05/0.3457, allocations: 20.23 kB / 0.5621 GB, free: 33.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.3458, allocations: 2.438 kB / 0.5621 GB, free: 33.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.346, allocations: 73.81 kB / 0.5622 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.346, allocations: 7.344 kB / 0.5622 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.3461, allocations: 16.95 kB / 0.5622 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.3463, allocations: 69.95 kB / 0.5623 GB, free: 33.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3463, allocations: 0.75 kB / 0.5623 GB, free: 33.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3463, allocations: 0 / 0.5623 GB, free: 33.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3463, allocations: 0.5 kB / 0.5623 GB, free: 33.34 MB / 446.1 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.0003711/0.3467, allocations: 351.2 kB / 0.5626 GB, free: 32.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3467, allocations: 9.281 kB / 0.5627 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.3468, allocations: 9.484 kB / 0.5627 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.557e-05/0.3469, allocations: 166.7 kB / 0.5628 GB, free: 32.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3469, allocations: 3.219 kB / 0.5628 GB, free: 32.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.347, allocations: 7.781 kB / 0.5628 GB, free: 32.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.3471, allocations: 55.03 kB / 0.5629 GB, free: 32.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3471, allocations: 3.844 kB / 0.5629 GB, free: 32.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3471, allocations: 10.91 kB / 0.5629 GB, free: 32.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3472, allocations: 1.094 kB / 0.5629 GB, free: 32.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.884e-05/0.3472, allocations: 15.34 kB / 0.5629 GB, free: 32.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.3474, allocations: 168.1 kB / 0.5631 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.749e-05/0.3475, allocations: 56.03 kB / 0.5631 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.3475, allocations: 17.09 kB / 0.5631 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006085/0.3481, allocations: 0.5957 MB / 0.5637 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3482, allocations: 40.56 kB / 0.5638 GB, free: 31.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3482, allocations: 0 / 0.5638 GB, free: 31.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005379/0.3487, allocations: 295.4 kB / 0.564 GB, free: 31.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.3488, allocations: 52.84 kB / 0.5641 GB, free: 31.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.98e-05/0.3488, allocations: 101.2 kB / 0.5642 GB, free: 31.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.3488, allocations: 31.83 kB / 0.5642 GB, free: 31.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.3489, allocations: 89.06 kB / 0.5643 GB, free: 31.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.3489, allocations: 30.12 kB / 0.5643 GB, free: 31.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.3489, allocations: 29.02 kB / 0.5644 GB, free: 31.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.118e-05/0.349, allocations: 318 kB / 0.5647 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.914e-05/0.349, allocations: 13.92 kB / 0.5647 GB, free: 30.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.241e-05/0.3491, allocations: 54.23 kB / 0.5647 GB, free: 30.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.3492, allocations: 72.36 kB / 0.5648 GB, free: 30.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3492, allocations: 0.8125 kB / 0.5648 GB, free: 30.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001399/0.3494, allocations: 91.58 kB / 0.5649 GB, free: 30.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3494, allocations: 6.969 kB / 0.5649 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3494, allocations: 1.844 kB / 0.5649 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.3494, allocations: 2.969 kB / 0.5649 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.344e-05/0.3495, allocations: 23.8 kB / 0.5649 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3495, allocations: 2.328 kB / 0.5649 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.859e-05/0.3496, allocations: 9.5 kB / 0.5649 GB, free: 30.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3496, allocations: 4.469 kB / 0.5649 GB, free: 30.69 MB / 446.1 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.959e-05/0.3496, allocations: 115.4 kB / 0.565 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.3497, allocations: 8.125 kB / 0.5651 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.3497, allocations: 9.797 kB / 0.5651 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3497, allocations: 5.812 kB / 0.5651 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3497, allocations: 0 / 0.5651 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3497, allocations: 6.328 kB / 0.5651 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.3499, allocations: 170.3 kB / 0.5652 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.35, allocations: 0 / 0.5652 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.974e-05/0.3501, allocations: 24.41 kB / 0.5653 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3501, allocations: 0.7031 kB / 0.5653 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3501, allocations: 2.375 kB / 0.5653 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3501, allocations: 3.938 kB / 0.5653 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3501, allocations: 2.125 kB / 0.5653 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.3502, allocations: 176.5 kB / 0.5654 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.3503, allocations: 89.58 kB / 0.5655 GB, free: 30.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.3503, allocations: 7.266 kB / 0.5655 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3504, allocations: 2.234 kB / 0.5655 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.3504, allocations: 13.17 kB / 0.5655 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.3504, allocations: 7 kB / 0.5656 GB, free: 30.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.984e-05/0.3505, allocations: 78.88 kB / 0.5656 GB, free: 30.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3505, allocations: 1.031 kB / 0.5656 GB, free: 30.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.3507, allocations: 14.56 kB / 0.5656 GB, free: 30 MB / 446.1 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 9.163e-05/0.3508, allocations: 104 kB / 0.5657 GB, free: 29.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.3509, allocations: 42.92 kB / 0.5658 GB, free: 29.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3509, allocations: 1 kB / 0.5658 GB, free: 29.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.647e-05/0.351, allocations: 21.22 kB / 0.5658 GB, free: 29.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.3513, allocations: 7.078 kB / 0.5658 GB, free: 29.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.3518, allocations: 326.1 kB / 0.5661 GB, free: 29.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.3519, allocations: 0.6829 MB / 0.5668 GB, free: 29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.501e-05/0.3519, allocations: 13 kB / 0.5668 GB, free: 28.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.352, allocations: 10.69 kB / 0.5668 GB, free: 28.98 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.352, allocations: 1.094 kB / 0.5668 GB, free: 28.98 MB / 446.1 MB Notification: Performance of Templates: time 0.003254/0.3552, allocations: 0.6207 MB / 0.5674 GB, free: 28.91 MB / 446.1 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)