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.001097/0.001097, allocations: 107.6 kB / 17.02 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.001026/0.001026, allocations: 193.2 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.306/1.306, allocations: 222.9 MB / 241.6 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7097/0.7097, allocations: 115.1 MB / 406.9 MB, free: 6.293 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 55.91 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3084, allocations: 76.15 MB / 0.5575 GB, free: 36.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001939/0.3104, allocations: 1.252 MB / 0.5588 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002887/0.3133, allocations: 2.921 MB / 0.5616 GB, free: 33.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.95e-05/0.3133, allocations: 3.938 kB / 0.5616 GB, free: 33.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.3134, allocations: 2.156 kB / 0.5616 GB, free: 33.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.983e-05/0.3134, allocations: 9.594 kB / 0.5616 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.3139, allocations: 99.36 kB / 0.5617 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.525e-05/0.3139, allocations: 32.8 kB / 0.5618 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.314, allocations: 2.953 kB / 0.5618 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004417/0.3144, allocations: 158.3 kB / 0.5619 GB, free: 33.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.564e-05/0.3145, allocations: 18.12 kB / 0.5619 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.3145, allocations: 2.281 kB / 0.5619 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.3147, allocations: 66.95 kB / 0.562 GB, free: 33.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.3147, allocations: 7.125 kB / 0.562 GB, free: 33.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.3147, allocations: 22.5 kB / 0.562 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.3149, allocations: 59.02 kB / 0.5621 GB, free: 33.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3149, allocations: 0 / 0.5621 GB, free: 33.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3149, allocations: 1.781 kB / 0.5621 GB, free: 33.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.3149, allocations: 0.5625 kB / 0.5621 GB, free: 33.38 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.0003262/0.3153, allocations: 347.5 kB / 0.5624 GB, free: 33.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.3153, allocations: 10.38 kB / 0.5624 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.3153, allocations: 5.078 kB / 0.5624 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.516e-05/0.3154, allocations: 161.6 kB / 0.5626 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3154, allocations: 4.625 kB / 0.5626 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.3154, allocations: 12.17 kB / 0.5626 GB, free: 32.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.3156, allocations: 54.02 kB / 0.5627 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.3156, allocations: 0 / 0.5627 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3156, allocations: 7.047 kB / 0.5627 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3156, allocations: 4.172 kB / 0.5627 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.061e-05/0.3156, allocations: 26.59 kB / 0.5627 GB, free: 32.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001154/0.3158, allocations: 167.9 kB / 0.5629 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.077e-05/0.3159, allocations: 55.31 kB / 0.5629 GB, free: 32.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.648e-05/0.3159, allocations: 18.33 kB / 0.5629 GB, free: 32.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005086/0.3164, allocations: 0.5933 MB / 0.5635 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.3164, allocations: 36.34 kB / 0.5635 GB, free: 31.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3164, allocations: 0 / 0.5635 GB, free: 31.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004672/0.3169, allocations: 299.5 kB / 0.5638 GB, free: 31.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.3169, allocations: 51.41 kB / 0.5639 GB, free: 31.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.058e-05/0.317, allocations: 101.9 kB / 0.564 GB, free: 31.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.317, allocations: 27.7 kB / 0.564 GB, free: 31.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.549e-05/0.3171, allocations: 89.61 kB / 0.5641 GB, free: 31.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.3171, allocations: 29.98 kB / 0.5641 GB, free: 31.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.3171, allocations: 27.14 kB / 0.5641 GB, free: 31.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.785e-05/0.3172, allocations: 322.5 kB / 0.5644 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/0.3172, allocations: 14.61 kB / 0.5645 GB, free: 30.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.49e-05/0.3172, allocations: 54.27 kB / 0.5645 GB, free: 30.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.232e-05/0.3173, allocations: 76.02 kB / 0.5646 GB, free: 30.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3173, allocations: 448 / 0.5646 GB, free: 30.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001268/0.3175, allocations: 93.12 kB / 0.5647 GB, free: 30.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3175, allocations: 6.094 kB / 0.5647 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.3175, allocations: 1.609 kB / 0.5647 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3175, allocations: 2.031 kB / 0.5647 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.729e-05/0.3176, allocations: 35.66 kB / 0.5647 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3176, allocations: 4.344 kB / 0.5647 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.645e-05/0.3177, allocations: 5.75 kB / 0.5647 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.3177, allocations: 4.219 kB / 0.5647 GB, free: 30.71 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.477e-05/0.3177, allocations: 118.9 kB / 0.5648 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.3178, allocations: 7.641 kB / 0.5648 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.3178, allocations: 9.672 kB / 0.5649 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3178, allocations: 2.203 kB / 0.5649 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3178, allocations: 1.75 kB / 0.5649 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3178, allocations: 5.688 kB / 0.5649 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.318, allocations: 180.6 kB / 0.565 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.318, allocations: 0.7031 kB / 0.565 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.768e-05/0.3181, allocations: 14.95 kB / 0.5651 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3181, allocations: 2.375 kB / 0.5651 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.3181, allocations: 1.828 kB / 0.5651 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3181, allocations: 0 / 0.5651 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3182, allocations: 0.9062 kB / 0.5651 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.3183, allocations: 182.6 kB / 0.5652 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.3183, allocations: 84.7 kB / 0.5653 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.3184, allocations: 2.359 kB / 0.5653 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3185, allocations: 7.859 kB / 0.5653 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.3185, allocations: 8.281 kB / 0.5653 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.3185, allocations: 6.594 kB / 0.5653 GB, free: 30.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.851e-05/0.3185, allocations: 79.33 kB / 0.5654 GB, free: 30.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3185, allocations: 0 / 0.5654 GB, free: 30.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.3188, allocations: 14.78 kB / 0.5654 GB, free: 30.03 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 8.039e-05/0.3189, allocations: 100.2 kB / 0.5655 GB, free: 29.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.319, allocations: 44.72 kB / 0.5656 GB, free: 29.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.319, allocations: 1 kB / 0.5656 GB, free: 29.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.406e-05/0.319, allocations: 20.91 kB / 0.5656 GB, free: 29.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.3193, allocations: 8.297 kB / 0.5656 GB, free: 29.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.3197, allocations: 332.5 kB / 0.5659 GB, free: 29.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.198e-05/0.3198, allocations: 0.6829 MB / 0.5666 GB, free: 29.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.369e-05/0.3199, allocations: 13.03 kB / 0.5666 GB, free: 29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.3199, allocations: 11.84 kB / 0.5666 GB, free: 29 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3199, allocations: 0 / 0.5666 GB, free: 29 MB / 446.1 MB Notification: Performance of Templates: time 0.002559/0.3225, allocations: 0.6225 MB / 0.5672 GB, free: 28.91 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)