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.001149/0.001149, allocations: 109.1 kB / 17.04 MB, free: 5.812 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.00107/0.00107, allocations: 195 kB / 17.98 MB, free: 5.027 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.253/1.253, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6689/0.6689, allocations: 115.1 MB / 406.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 55.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.323, allocations: 76.15 MB / 0.5576 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002067/0.3251, allocations: 1.247 MB / 0.5588 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.3279, allocations: 3.262 MB / 0.562 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.659e-05/0.328, allocations: 2.375 kB / 0.562 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.328, allocations: 1.125 kB / 0.562 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.544e-05/0.3281, allocations: 7.266 kB / 0.562 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.3285, allocations: 102.3 kB / 0.5621 GB, free: 33.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.202e-05/0.3286, allocations: 42.09 kB / 0.5621 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.331e-05/0.3286, allocations: 7.406 kB / 0.5621 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.3287, allocations: 16.25 kB / 0.5621 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.3288, allocations: 22.36 kB / 0.5622 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.3288, allocations: 3.375 kB / 0.5622 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.329, allocations: 73.61 kB / 0.5622 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.329, allocations: 4.031 kB / 0.5622 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.329, allocations: 20.17 kB / 0.5623 GB, free: 33.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.3292, allocations: 72.83 kB / 0.5623 GB, free: 33.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3292, allocations: 0.5625 kB / 0.5623 GB, free: 33.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3292, allocations: 1.594 kB / 0.5623 GB, free: 33.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3292, allocations: 0.9062 kB / 0.5623 GB, free: 33.21 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.0003048/0.3295, allocations: 350 kB / 0.5627 GB, free: 32.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.3296, allocations: 8.5 kB / 0.5627 GB, free: 32.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.99e-05/0.3297, allocations: 9.406 kB / 0.5627 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.926e-05/0.3298, allocations: 164.5 kB / 0.5628 GB, free: 32.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.3298, allocations: 3.281 kB / 0.5628 GB, free: 32.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.3298, allocations: 8.484 kB / 0.5628 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.3299, allocations: 54.67 kB / 0.5629 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3299, allocations: 4.828 kB / 0.5629 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3299, allocations: 1.438 kB / 0.5629 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.3299, allocations: 0 / 0.5629 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.237e-05/0.33, allocations: 24.91 kB / 0.5629 GB, free: 32.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.3301, allocations: 165.8 kB / 0.5631 GB, free: 32.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.001e-05/0.3302, allocations: 48.16 kB / 0.5631 GB, free: 32.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.3302, allocations: 22.22 kB / 0.5632 GB, free: 32.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005148/0.3308, allocations: 0.5981 MB / 0.5637 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.3308, allocations: 39.91 kB / 0.5638 GB, free: 31.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3308, allocations: 1.219 kB / 0.5638 GB, free: 31.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004686/0.3313, allocations: 297.7 kB / 0.5641 GB, free: 31.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.3313, allocations: 52.84 kB / 0.5641 GB, free: 31.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.435e-05/0.3314, allocations: 96.27 kB / 0.5642 GB, free: 31.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.3314, allocations: 32.7 kB / 0.5642 GB, free: 31.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.3314, allocations: 85.64 kB / 0.5643 GB, free: 31.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.3314, allocations: 30.34 kB / 0.5643 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.3315, allocations: 27.91 kB / 0.5644 GB, free: 31.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.092e-05/0.3315, allocations: 318.5 kB / 0.5647 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-05/0.3315, allocations: 14.3 kB / 0.5647 GB, free: 30.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.3316, allocations: 49.84 kB / 0.5647 GB, free: 30.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.024e-05/0.3317, allocations: 83.86 kB / 0.5648 GB, free: 30.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3317, allocations: 0 / 0.5648 GB, free: 30.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001151/0.3318, allocations: 91.89 kB / 0.5649 GB, free: 30.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.3318, allocations: 11.25 kB / 0.5649 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3318, allocations: 3.688 kB / 0.5649 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3318, allocations: 1.906 kB / 0.5649 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.04e-05/0.3319, allocations: 19.41 kB / 0.5649 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3319, allocations: 3.719 kB / 0.5649 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.846e-05/0.332, allocations: 9.406 kB / 0.5649 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.332, allocations: 12.39 kB / 0.565 GB, free: 30.55 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.458e-05/0.332, allocations: 115.5 kB / 0.5651 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.3321, allocations: 8.5 kB / 0.5651 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.3321, allocations: 10.05 kB / 0.5651 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3321, allocations: 1.094 kB / 0.5651 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3321, allocations: 1.688 kB / 0.5651 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3321, allocations: 3.938 kB / 0.5651 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.3323, allocations: 173.6 kB / 0.5653 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3323, allocations: 2.391 kB / 0.5653 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.397e-05/0.3324, allocations: 14.89 kB / 0.5653 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3324, allocations: 2.469 kB / 0.5653 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.3324, allocations: 4 kB / 0.5653 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3325, allocations: 2.078 kB / 0.5653 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3325, allocations: 0 / 0.5653 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.3326, allocations: 173.8 kB / 0.5654 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.3327, allocations: 85.55 kB / 0.5655 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.3327, allocations: 2.578 kB / 0.5655 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/0.3328, allocations: 4.328 kB / 0.5655 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.3328, allocations: 8.031 kB / 0.5655 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.3328, allocations: 6.875 kB / 0.5656 GB, free: 29.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.201e-05/0.3328, allocations: 82.69 kB / 0.5656 GB, free: 29.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3329, allocations: 1.281 kB / 0.5656 GB, free: 29.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.3331, allocations: 14.91 kB / 0.5656 GB, free: 29.88 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 0.0001139/0.3332, allocations: 103.5 kB / 0.5657 GB, free: 29.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.3333, allocations: 52.66 kB / 0.5658 GB, free: 29.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3334, allocations: 0 / 0.5658 GB, free: 29.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.367e-05/0.3334, allocations: 13.3 kB / 0.5658 GB, free: 29.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.3337, allocations: 10.39 kB / 0.5658 GB, free: 29.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005538/0.3343, allocations: 328.7 kB / 0.5661 GB, free: 29.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.3344, allocations: 0.6828 MB / 0.5668 GB, free: 28.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.537e-05/0.3344, allocations: 12.97 kB / 0.5668 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.3345, allocations: 14.16 kB / 0.5668 GB, free: 28.85 MB / 446.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3345, allocations: 1.594 kB / 0.5668 GB, free: 28.85 MB / 446.1 MB Notification: Performance of Templates: time 0.002846/0.3373, allocations: 0.618 MB / 0.5674 GB, free: 28.77 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)