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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 113.2 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002511/0.002511, allocations: 191.7 kB / 20.02 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8238/0.8238, allocations: 126.7 MB / 424.6 MB, free: 6.211 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 71.83 kB / 0.582 GB, free: 12.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5167/0.5188, allocations: 78.86 MB / 0.659 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004762/0.5236, allocations: 3.722 MB / 0.6627 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001591/0.5238, allocations: 153.3 kB / 0.6628 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.023e-05/0.5238, allocations: 0 / 0.6628 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.684e-05/0.5239, allocations: 6.375 kB / 0.6628 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.85e-05/0.524, allocations: 12.56 kB / 0.6628 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.5243, allocations: 86.88 kB / 0.6629 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.239e-05/0.5244, allocations: 29.14 kB / 0.6629 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.5245, allocations: 7.609 kB / 0.663 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.79e-05/0.5245, allocations: 14.7 kB / 0.663 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.864e-05/0.5246, allocations: 12.28 kB / 0.663 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.5246, allocations: 5.141 kB / 0.663 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000493/0.5251, allocations: 183.8 kB / 0.6632 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.5251, allocations: 13.52 kB / 0.6632 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.5252, allocations: 12.39 kB / 0.6632 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.5253, allocations: 45.92 kB / 0.6632 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5253, allocations: 0 / 0.6632 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5253, allocations: 0 / 0.6632 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.5253, allocations: 1.062 kB / 0.6632 GB, free: 11.82 MB / 0.4981 GB 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.000326/0.5257, allocations: 331.2 kB / 0.6635 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.5257, allocations: 9.125 kB / 0.6636 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.473e-05/0.5257, allocations: 31.84 kB / 0.6636 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.5258, allocations: 6.047 kB / 0.6636 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.5259, allocations: 172.6 kB / 0.6638 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.405e-05/0.526, allocations: 31.77 kB / 0.6638 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.526, allocations: 12.78 kB / 0.6638 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.5261, allocations: 38.86 kB / 0.6638 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.5261, allocations: 0 / 0.6638 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.5261, allocations: 1.281 kB / 0.6638 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.5262, allocations: 4.578 kB / 0.6638 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.534e-05/0.5262, allocations: 18.72 kB / 0.6639 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.5265, allocations: 335.3 kB / 0.6642 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.24e-05/0.5266, allocations: 18 kB / 0.6642 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.266e-05/0.5266, allocations: 6.078 kB / 0.6642 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.744e-05/0.5267, allocations: 83.92 kB / 0.6643 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.5267, allocations: 31.66 kB / 0.6643 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.5267, allocations: 0 / 0.6643 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001325/0.5268, allocations: 45.09 kB / 0.6644 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.5269, allocations: 54 kB / 0.6644 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.861e-05/0.5269, allocations: 105.6 kB / 0.6645 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.527, allocations: 27.11 kB / 0.6645 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.527, allocations: 89.25 kB / 0.6646 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.2e-06/0.527, allocations: 5.359 kB / 0.6646 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.527, allocations: 14.69 kB / 0.6646 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.971e-05/0.5271, allocations: 325.1 kB / 0.6649 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.5271, allocations: 3.594 kB / 0.6649 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.773e-05/0.5271, allocations: 14.38 kB / 0.665 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.253e-05/0.5272, allocations: 26.48 kB / 0.665 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5272, allocations: 0 / 0.665 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.62e-05/0.5273, allocations: 49.7 kB / 0.665 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.5273, allocations: 10.34 kB / 0.665 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.5273, allocations: 0 / 0.665 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5273, allocations: 1.281 kB / 0.665 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.3e-05/0.5273, allocations: 6.141 kB / 0.6651 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.5274, allocations: 5.344 kB / 0.6651 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.5274, allocations: 0 / 0.6651 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.5274, allocations: 3.406 kB / 0.6651 GB, free: 9.836 MB / 0.4981 GB 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.206e-05/0.5274, allocations: 111.8 kB / 0.6652 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.5275, allocations: 5.328 kB / 0.6652 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.05e-05/0.5276, allocations: 127.6 kB / 0.6653 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/0.5276, allocations: 184.9 kB / 0.6655 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.522e-05/0.5276, allocations: 178.8 kB / 0.6656 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.94e-05/0.5277, allocations: 186.3 kB / 0.6658 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.5278, allocations: 411.7 kB / 0.6662 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.5278, allocations: 107.4 kB / 0.6663 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-05/0.5278, allocations: 101 kB / 0.6664 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.528e-05/0.5279, allocations: 182.2 kB / 0.6666 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.5279, allocations: 186.1 kB / 0.6668 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.212e-05/0.5279, allocations: 178.5 kB / 0.6669 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-05/0.5279, allocations: 185.2 kB / 0.6671 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.674e-05/0.528, allocations: 306.5 kB / 0.6674 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.5281, allocations: 184.6 kB / 0.6676 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.5281, allocations: 178.3 kB / 0.6677 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.5282, allocations: 110.8 kB / 0.6679 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.5283, allocations: 181.7 kB / 0.668 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.5283, allocations: 102.7 kB / 0.6681 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.978e-05/0.5283, allocations: 90.61 kB / 0.6682 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5283, allocations: 0 / 0.6682 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002475/0.5286, allocations: 19.16 kB / 0.6682 GB, free: 6.441 MB / 0.4981 GB 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.0003493/0.5289, allocations: 0.8325 MB / 0.669 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.939e-05/0.529, allocations: 18.86 kB / 0.6691 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.529, allocations: 0 / 0.6691 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-06/0.529, allocations: 1.938 kB / 0.6691 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.5293, allocations: 461.8 kB / 0.6695 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007666/0.5301, allocations: 1.331 MB / 0.6708 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.5303, allocations: 0.675 MB / 0.6715 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.319e-05/0.5303, allocations: 9.203 kB / 0.6715 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.5303, allocations: 13.58 kB / 0.6715 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.5303, allocations: 0 / 0.6715 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.5533, allocations: 1.52 MB / 0.673 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/8.648, allocations: 9.5 kB / 0.673 GB, free: 2.746 MB / 0.4981 GB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.530224230955355] Failed to read output from testmodel.py, exit status != 0: 8.712477735010907 8.724952891 8.197073037 Calling exit ...