Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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: "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 97.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002441/0.002441, allocations: 179.7 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.488/2.488, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.098/1.098, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006841/0.0006845, allocations: 11.98 kB / 493 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3302, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.007381/0.3377, allocations: 3.145 MB / 0.5598 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003207/0.3381, allocations: 127.7 kB / 0.5599 GB, free: 8.414 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.927e-05/0.3381, allocations: 3.938 kB / 0.5599 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.3383, allocations: 0 / 0.5599 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.375e-05/0.3384, allocations: 7.984 kB / 0.5599 GB, free: 8.402 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.3389, allocations: 71.81 kB / 0.56 GB, free: 8.332 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.144e-05/0.339, allocations: 11.98 kB / 0.56 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.635e-05/0.339, allocations: 3.984 kB / 0.56 GB, free: 8.316 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.857e-05/0.3391, allocations: 11.98 kB / 0.56 GB, free: 8.305 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.997e-05/0.3392, allocations: 8 kB / 0.56 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.3393, allocations: 4 kB / 0.56 GB, free: 8.293 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008493/0.3401, allocations: 155.7 kB / 0.5602 GB, free: 8.141 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.868e-05/0.3402, allocations: 11.92 kB / 0.5602 GB, free: 8.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.604e-05/0.3403, allocations: 29.7 kB / 0.5602 GB, free: 8.094 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.3404, allocations: 20.27 kB / 0.5602 GB, free: 8.074 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3404, allocations: 0 / 0.5602 GB, free: 8.074 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3405, allocations: 0 / 0.5602 GB, free: 8.074 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3405, allocations: 0 / 0.5602 GB, free: 8.074 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005288/0.341, allocations: 331.4 kB / 0.5605 GB, free: 7.703 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.3411, allocations: 8.031 kB / 0.5606 GB, free: 7.695 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.781e-05/0.3412, allocations: 34.56 kB / 0.5606 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.3413, allocations: 7.906 kB / 0.5606 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.3415, allocations: 159.1 kB / 0.5607 GB, free: 7.449 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.3416, allocations: 29.66 kB / 0.5608 GB, free: 7.414 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3416, allocations: 0 / 0.5608 GB, free: 7.414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.3419, allocations: 53.61 kB / 0.5608 GB, free: 7.355 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3419, allocations: 0 / 0.5608 GB, free: 7.355 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.3419, allocations: 3.984 kB / 0.5608 GB, free: 7.352 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/0.342, allocations: 0 / 0.5608 GB, free: 7.352 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.224e-05/0.3421, allocations: 16 kB / 0.5608 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000726/0.3428, allocations: 330 kB / 0.5612 GB, free: 6.945 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.14e-05/0.3429, allocations: 26.52 kB / 0.5612 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/0.3431, allocations: 85.16 kB / 0.5613 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/0.3431, allocations: 34.5 kB / 0.5613 GB, free: 6.766 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 2.254e-06/0.3432, allocations: 4 kB / 0.5613 GB, free: 6.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002428/0.3434, allocations: 33.7 kB / 0.5613 GB, free: 6.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/0.3435, allocations: 55.39 kB / 0.5614 GB, free: 6.656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.3437, allocations: 105.8 kB / 0.5615 GB, free: 6.543 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.3437, allocations: 25.7 kB / 0.5615 GB, free: 6.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.044e-05/0.3438, allocations: 87.98 kB / 0.5616 GB, free: 6.422 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.3439, allocations: 7.984 kB / 0.5616 GB, free: 6.414 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.3439, allocations: 0 / 0.5616 GB, free: 6.414 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.3441, allocations: 322.9 kB / 0.5619 GB, free: 6.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.534e-05/0.3441, allocations: 0 / 0.5619 GB, free: 6.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.866e-05/0.3442, allocations: 25.83 kB / 0.5619 GB, free: 6.059 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.563e-05/0.3443, allocations: 7.984 kB / 0.5619 GB, free: 6.051 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.3443, allocations: 0 / 0.5619 GB, free: 6.051 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001446/0.3445, allocations: 45.61 kB / 0.562 GB, free: 6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.3445, allocations: 10.34 kB / 0.562 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.3445, allocations: 12.05 kB / 0.562 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.3446, allocations: 0 / 0.562 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3447, allocations: 7.938 kB / 0.562 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3447, allocations: 0 / 0.562 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.3448, allocations: 4 kB / 0.562 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.3448, allocations: 0 / 0.562 GB, free: 5.969 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.345, allocations: 113.8 kB / 0.5621 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.345, allocations: 0 / 0.5621 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.3453, allocations: 125 kB / 0.5622 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000116/0.3454, allocations: 180.2 kB / 0.5624 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001124/0.3455, allocations: 180.3 kB / 0.5626 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-05/0.3456, allocations: 184.2 kB / 0.5628 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.346, allocations: 405.2 kB / 0.5632 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.145e-05/0.3461, allocations: 113 kB / 0.5633 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.3462, allocations: 104.9 kB / 0.5634 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.513e-05/0.3463, allocations: 176.3 kB / 0.5635 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.3464, allocations: 184.2 kB / 0.5637 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.08e-05/0.3465, allocations: 180.3 kB / 0.5639 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.687e-05/0.3466, allocations: 180.2 kB / 0.564 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.3468, allocations: 311.8 kB / 0.5643 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.347, allocations: 189.9 kB / 0.5645 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.3471, allocations: 184.2 kB / 0.5647 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.3474, allocations: 105 kB / 0.5648 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.3475, allocations: 184.2 kB / 0.565 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.103e-05/0.3476, allocations: 105 kB / 0.5651 GB, free: 2.609 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.723e-05/0.3477, allocations: 83.28 kB / 0.5652 GB, free: 2.527 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3477, allocations: 0 / 0.5652 GB, free: 2.527 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004605/0.3482, allocations: 19.94 kB / 0.5652 GB, free: 2.508 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007138/0.3489, allocations: 0.8366 MB / 0.566 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.3491, allocations: 4 kB / 0.566 GB, free: 1.641 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3491, allocations: 0 / 0.566 GB, free: 1.641 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.043e-05/0.3491, allocations: 7.938 kB / 0.566 GB, free: 1.633 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000849/0.35, allocations: 0.5226 MB / 0.5665 GB, free: 1.105 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006889/0.3507, allocations: 221.6 kB / 0.5667 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.3511, allocations: 0.677 MB / 0.5674 GB, free: 144 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.939e-05/0.3512, allocations: 7.984 kB / 0.5674 GB, free: 136 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.092e-05/0.3513, allocations: 11.44 kB / 0.5674 GB, free: 124 kB / 430.1 MB Notification: Performance of SimCode: time 3.947e-06/0.3513, allocations: 0 / 0.5674 GB, free: 124 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1178/0.4692, allocations: 1.231 MB / 0.5686 GB, free: 15.08 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004488/0.4698, allocations: 202.9 kB / 0.5688 GB, free: 14.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.12/3.59, allocations: 0 / 0.5688 GB, free: 14.84 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: