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.001296/0.001296, allocations: 102.3 kB / 16.27 MB, free: 5.93 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.001415/0.001415, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.259/1.259, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7125/0.7125, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 0.4912 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3139, allocations: 77.92 MB / 0.5673 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004309/0.3182, allocations: 3.721 MB / 0.5709 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001483/0.3184, allocations: 147.8 kB / 0.571 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.727e-05/0.3184, allocations: 0 / 0.571 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.915e-05/0.3185, allocations: 5.391 kB / 0.571 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.369e-05/0.3186, allocations: 14.52 kB / 0.5711 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.3189, allocations: 83.97 kB / 0.5711 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.591e-05/0.319, allocations: 37.03 kB / 0.5712 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.319, allocations: 8.016 kB / 0.5712 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.583e-05/0.3191, allocations: 14.34 kB / 0.5712 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.766e-05/0.3191, allocations: 18.92 kB / 0.5712 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.3191, allocations: 0 / 0.5712 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004677/0.3196, allocations: 181.8 kB / 0.5714 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.554e-05/0.3197, allocations: 13.69 kB / 0.5714 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.3197, allocations: 11.05 kB / 0.5714 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.3198, allocations: 39.64 kB / 0.5715 GB, free: 29.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3198, allocations: 1.375 kB / 0.5715 GB, free: 29.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3198, allocations: 0 / 0.5715 GB, free: 29.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.3198, allocations: 0.625 kB / 0.5715 GB, free: 29.88 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002656/0.3201, allocations: 348.7 kB / 0.5718 GB, free: 29.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.3201, allocations: 10.19 kB / 0.5718 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.709e-05/0.3202, allocations: 31.97 kB / 0.5718 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.3202, allocations: 4.938 kB / 0.5718 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.977e-05/0.3203, allocations: 165.3 kB / 0.572 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/0.3203, allocations: 30.34 kB / 0.572 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-06/0.3203, allocations: 5.219 kB / 0.572 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.804e-05/0.3204, allocations: 42.83 kB / 0.5721 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.3205, allocations: 5.156 kB / 0.5721 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3205, allocations: 1.203 kB / 0.5721 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.3205, allocations: 2.281 kB / 0.5721 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.014e-05/0.3205, allocations: 12.88 kB / 0.5721 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.3209, allocations: 338.1 kB / 0.5724 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.682e-05/0.3209, allocations: 25.44 kB / 0.5724 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.225e-05/0.3209, allocations: 7.734 kB / 0.5724 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.16e-05/0.321, allocations: 83.69 kB / 0.5725 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.321, allocations: 34.27 kB / 0.5726 GB, free: 28.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.321, allocations: 0 / 0.5726 GB, free: 28.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001122/0.3211, allocations: 33.25 kB / 0.5726 GB, free: 28.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.3212, allocations: 58.3 kB / 0.5726 GB, free: 28.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.019e-05/0.3212, allocations: 102.8 kB / 0.5727 GB, free: 28.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.3212, allocations: 25.7 kB / 0.5728 GB, free: 28.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.3213, allocations: 87.59 kB / 0.5728 GB, free: 28.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.51e-06/0.3213, allocations: 9.125 kB / 0.5729 GB, free: 28.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.3213, allocations: 14.8 kB / 0.5729 GB, free: 28.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.153e-05/0.3214, allocations: 318.4 kB / 0.5732 GB, free: 28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.3214, allocations: 11.56 kB / 0.5732 GB, free: 27.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.857e-05/0.3214, allocations: 15.47 kB / 0.5732 GB, free: 27.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.806e-05/0.3214, allocations: 22.27 kB / 0.5732 GB, free: 27.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3214, allocations: 0.6875 kB / 0.5732 GB, free: 27.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.519e-05/0.3215, allocations: 49.75 kB / 0.5733 GB, free: 27.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.3215, allocations: 4.562 kB / 0.5733 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.3215, allocations: 1.734 kB / 0.5733 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.3216, allocations: 1.25 kB / 0.5733 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.141e-05/0.3216, allocations: 10.27 kB / 0.5733 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3216, allocations: 0 / 0.5733 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.3216, allocations: 5.812 kB / 0.5733 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.3216, allocations: 2.219 kB / 0.5733 GB, free: 27.91 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.3217, allocations: 118.2 kB / 0.5734 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.3217, allocations: 1.656 kB / 0.5734 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.238e-05/0.3218, allocations: 119.5 kB / 0.5735 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/0.3218, allocations: 182.7 kB / 0.5737 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.519e-05/0.3219, allocations: 179 kB / 0.5739 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/0.3219, allocations: 183.9 kB / 0.574 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.322, allocations: 411.5 kB / 0.5744 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.322, allocations: 110.9 kB / 0.5745 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-05/0.3221, allocations: 108.9 kB / 0.5746 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.049e-05/0.3221, allocations: 177.4 kB / 0.5748 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.3221, allocations: 178.8 kB / 0.575 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-05/0.3221, allocations: 182.9 kB / 0.5752 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-05/0.3222, allocations: 187.8 kB / 0.5753 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.364e-05/0.3222, allocations: 312.8 kB / 0.5756 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.3223, allocations: 180.3 kB / 0.5758 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.3223, allocations: 186.7 kB / 0.576 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.3224, allocations: 105.4 kB / 0.5761 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.3225, allocations: 183.4 kB / 0.5763 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.3225, allocations: 104 kB / 0.5764 GB, free: 24.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.934e-05/0.3225, allocations: 87.08 kB / 0.5764 GB, free: 24.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3225, allocations: 0 / 0.5764 GB, free: 24.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.3228, allocations: 16.83 kB / 0.5765 GB, free: 24.54 MB / 446.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 (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.0002748/0.323, allocations: 0.8407 MB / 0.5773 GB, free: 23.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.031e-05/0.3231, allocations: 10.33 kB / 0.5773 GB, free: 23.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3231, allocations: 0 / 0.5773 GB, free: 23.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.3231, allocations: 1.531 kB / 0.5773 GB, free: 23.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.3234, allocations: 461.8 kB / 0.5777 GB, free: 23.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006408/0.3241, allocations: 1.327 MB / 0.579 GB, free: 21.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.609e-05/0.3241, allocations: 0.6738 MB / 0.5797 GB, free: 21.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.741e-05/0.3242, allocations: 5.406 kB / 0.5797 GB, free: 21.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.773e-05/0.3242, allocations: 9.906 kB / 0.5797 GB, free: 21.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3242, allocations: 0.5312 kB / 0.5797 GB, free: 21.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.3399, allocations: 1.5 MB / 0.5812 GB, free: 20.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.368, allocations: 5.219 kB / 0.5812 GB, free: 20.92 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)