Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 107.7 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.001201/0.001202, 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.269/1.269, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7112/0.7112, allocations: 115.1 MB / 407 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001438, allocations: 63.88 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3299, allocations: 76.15 MB / 0.5576 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002067/0.332, allocations: 1.249 MB / 0.5588 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.3348, allocations: 2.927 MB / 0.5616 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.02e-05/0.3349, allocations: 0 / 0.5616 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.3349, allocations: 1.922 kB / 0.5616 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.814e-05/0.3349, allocations: 8.531 kB / 0.5616 GB, free: 33.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.3354, allocations: 101.4 kB / 0.5617 GB, free: 33.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.078e-05/0.3355, allocations: 36.48 kB / 0.5618 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.3355, allocations: 2.766 kB / 0.5618 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004549/0.336, allocations: 161.3 kB / 0.5619 GB, free: 33.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.205e-05/0.3361, allocations: 13.69 kB / 0.5619 GB, free: 33.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.3361, allocations: 4.219 kB / 0.562 GB, free: 33.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.3362, allocations: 61.39 kB / 0.562 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.3363, allocations: 12.14 kB / 0.562 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.3363, allocations: 13.91 kB / 0.562 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.3365, allocations: 64.44 kB / 0.5621 GB, free: 33.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3365, allocations: 4.5 kB / 0.5621 GB, free: 33.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3365, allocations: 0 / 0.5621 GB, free: 33.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3365, allocations: 1 kB / 0.5621 GB, free: 33.43 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.000364/0.3369, allocations: 347.8 kB / 0.5624 GB, free: 33.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3369, allocations: 8.844 kB / 0.5624 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.337, allocations: 5.062 kB / 0.5624 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.07e-05/0.3371, allocations: 166.1 kB / 0.5626 GB, free: 32.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3371, allocations: 8.406 kB / 0.5626 GB, free: 32.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.3371, allocations: 4.938 kB / 0.5626 GB, free: 32.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.3373, allocations: 56.58 kB / 0.5627 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3373, allocations: 1.031 kB / 0.5627 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3373, allocations: 1.281 kB / 0.5627 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.3373, allocations: 1.812 kB / 0.5627 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.513e-05/0.3374, allocations: 23.38 kB / 0.5627 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.3375, allocations: 171 kB / 0.5629 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.62e-05/0.3376, allocations: 50.3 kB / 0.5629 GB, free: 32.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.3377, allocations: 17.66 kB / 0.5629 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005991/0.3383, allocations: 0.5981 MB / 0.5635 GB, free: 31.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.3383, allocations: 32.47 kB / 0.5635 GB, free: 31.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.3383, allocations: 0.5625 kB / 0.5635 GB, free: 31.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005321/0.3388, allocations: 305.9 kB / 0.5638 GB, free: 31.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.3389, allocations: 53.34 kB / 0.5639 GB, free: 31.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.3389, allocations: 100.8 kB / 0.564 GB, free: 31.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.339, allocations: 26.89 kB / 0.564 GB, free: 31.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.339, allocations: 91.67 kB / 0.5641 GB, free: 31.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.339, allocations: 29.14 kB / 0.5641 GB, free: 31.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.3391, allocations: 27.58 kB / 0.5641 GB, free: 31.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.122e-05/0.3391, allocations: 323.1 kB / 0.5645 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-05/0.3391, allocations: 8.703 kB / 0.5645 GB, free: 30.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.973e-05/0.3392, allocations: 58.84 kB / 0.5645 GB, free: 30.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.919e-05/0.3393, allocations: 80.98 kB / 0.5646 GB, free: 30.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3393, allocations: 0 / 0.5646 GB, free: 30.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000119/0.3394, allocations: 92.17 kB / 0.5647 GB, free: 30.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3394, allocations: 6.094 kB / 0.5647 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.788e-06/0.3394, allocations: 3.438 kB / 0.5647 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3395, allocations: 2.859 kB / 0.5647 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.382e-05/0.3395, allocations: 23.45 kB / 0.5647 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.3395, allocations: 2.406 kB / 0.5647 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.752e-05/0.3396, allocations: 5.656 kB / 0.5647 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.3396, allocations: 9.797 kB / 0.5647 GB, free: 30.77 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 4.838e-05/0.3397, allocations: 123 kB / 0.5649 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.3397, allocations: 6.641 kB / 0.5649 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.3397, allocations: 9.906 kB / 0.5649 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3397, allocations: 1.75 kB / 0.5649 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3397, allocations: 0 / 0.5649 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3397, allocations: 6.344 kB / 0.5649 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.3399, allocations: 173.3 kB / 0.565 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3399, allocations: 1.812 kB / 0.565 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.174e-05/0.34, allocations: 15.22 kB / 0.5651 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.34, allocations: 0.9375 kB / 0.5651 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.3401, allocations: 5.641 kB / 0.5651 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3401, allocations: 80 / 0.5651 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3401, allocations: 7.422 kB / 0.5651 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.3402, allocations: 175.5 kB / 0.5652 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.3402, allocations: 86.67 kB / 0.5653 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.3403, allocations: 1.031 kB / 0.5653 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3404, allocations: 8.719 kB / 0.5653 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.3404, allocations: 4.188 kB / 0.5653 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.3404, allocations: 6.984 kB / 0.5653 GB, free: 30.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.896e-05/0.3404, allocations: 82.55 kB / 0.5654 GB, free: 30.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3404, allocations: 1.469 kB / 0.5654 GB, free: 30.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.3407, allocations: 13.94 kB / 0.5654 GB, free: 30.09 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.0001001/0.3408, allocations: 104.3 kB / 0.5655 GB, free: 29.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.3409, allocations: 44.09 kB / 0.5656 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3409, allocations: 2.5 kB / 0.5656 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.465e-05/0.3409, allocations: 21.44 kB / 0.5656 GB, free: 29.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.3412, allocations: 7.141 kB / 0.5656 GB, free: 29.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005414/0.3418, allocations: 333.5 kB / 0.5659 GB, free: 29.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.3419, allocations: 0.6833 MB / 0.5666 GB, free: 29.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.469e-05/0.3419, allocations: 12.94 kB / 0.5666 GB, free: 29.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.342, allocations: 10.66 kB / 0.5666 GB, free: 29.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.342, allocations: 1.094 kB / 0.5666 GB, free: 29.04 MB / 446.1 MB Notification: Performance of Templates: time 0.002737/0.3447, allocations: 0.609 MB / 0.5672 GB, free: 28.97 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)