Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 210.7 kB / 22.99 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.957/0.957, allocations: 149.9 MB / 463.1 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 70.2 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2447, allocations: 89.18 MB / 0.7282 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6239/0.8687, allocations: 129.9 MB / 0.8551 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001738/0.8688, allocations: 50.88 kB / 0.8551 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.8689, allocations: 0 / 0.8551 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.869, allocations: 3.938 kB / 0.8551 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.863e-05/0.8691, allocations: 17.62 kB / 0.8551 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/0.8697, allocations: 103.5 kB / 0.8552 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.529e-05/0.8698, allocations: 36.12 kB / 0.8553 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.8698, allocations: 3.219 kB / 0.8553 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.587e-05/0.8698, allocations: 19.2 kB / 0.8553 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 8.022e-05/0.8699, allocations: 12.77 kB / 0.8553 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.8699, allocations: 2.844 kB / 0.8553 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.8702, allocations: 70.58 kB / 0.8554 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.8703, allocations: 10.75 kB / 0.8554 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.8703, allocations: 13.12 kB / 0.8554 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.8705, allocations: 61.41 kB / 0.8554 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8705, allocations: 2.969 kB / 0.8554 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8705, allocations: 0 / 0.8554 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.8705, allocations: 1.031 kB / 0.8554 GB, free: 1.863 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000467/0.871, allocations: 263.5 kB / 0.8557 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.871, allocations: 10.16 kB / 0.8557 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.353e-05/0.8711, allocations: 34.73 kB / 0.8557 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.8714, allocations: 22.17 kB / 0.8558 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.8715, allocations: 102.5 kB / 0.8559 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.414e-05/0.8716, allocations: 58.5 kB / 0.8559 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.946e-06/0.8716, allocations: 0 / 0.8559 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.8717, allocations: 77.66 kB / 0.856 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.8718, allocations: 10.88 kB / 0.856 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.8718, allocations: 0 / 0.856 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.8718, allocations: 2.062 kB / 0.856 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.109e-05/0.8718, allocations: 18.48 kB / 0.856 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.8723, allocations: 242.5 kB / 0.8562 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 6.433e-05/0.8724, allocations: 18.58 kB / 0.8563 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.8724, allocations: 7.578 kB / 0.8563 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.8724, allocations: 0 / 0.8563 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.8724, allocations: 34.03 kB / 0.8563 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.8724, allocations: 4 kB / 0.8563 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001527/0.8726, allocations: 43.42 kB / 0.8563 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.8726, allocations: 55.34 kB / 0.8564 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.8728, allocations: 105.5 kB / 0.8565 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.8728, allocations: 25.7 kB / 0.8565 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.977e-05/0.8729, allocations: 94.95 kB / 0.8566 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.14e-06/0.8729, allocations: 0 / 0.8566 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.8729, allocations: 18.78 kB / 0.8566 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.8731, allocations: 310.8 kB / 0.8569 GB, free: 248 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.8731, allocations: 9.578 kB / 0.8569 GB, free: 244 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.356e-05/0.8732, allocations: 29.02 kB / 0.857 GB, free: 212 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.602e-05/0.8732, allocations: 30.36 kB / 0.857 GB, free: 180 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8732, allocations: 0 / 0.857 GB, free: 180 kB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.805e-05/0.8733, allocations: 53.84 kB / 0.857 GB, free: 136 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.8733, allocations: 5.188 kB / 0.8571 GB, free: 136 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.8733, allocations: 3.938 kB / 0.8571 GB, free: 132 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.8733, allocations: 2.281 kB / 0.8571 GB, free: 132 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.586e-05/0.8734, allocations: 14.05 kB / 0.8571 GB, free: 124 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.8734, allocations: 4.75 kB / 0.8571 GB, free: 120 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.143e-05/0.8734, allocations: 6.234 kB / 0.8571 GB, free: 116 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.8734, allocations: 2.875 kB / 0.8571 GB, free: 116 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 8.805e-05/0.8735, allocations: 108.3 kB / 0.8572 GB, free: 0 / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.8736, allocations: 0 / 0.8572 GB, free: 0 / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.34e-05/0.8736, allocations: 10.67 kB / 0.8572 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8736, allocations: 3.938 kB / 0.8572 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.8736, allocations: 7.766 kB / 0.8572 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.8736, allocations: 3.984 kB / 0.8572 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.8739, allocations: 318.4 kB / 0.8575 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.8739, allocations: 1.969 kB / 0.8575 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.417e-05/0.8739, allocations: 0 / 0.8575 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.8739, allocations: 7.875 kB / 0.8575 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.8739, allocations: 0 / 0.8575 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8739, allocations: 0 / 0.8575 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.8739, allocations: 0 / 0.8575 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.874, allocations: 61.23 kB / 0.8576 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.874, allocations: 11.88 kB / 0.8576 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.8741, allocations: 4.844 kB / 0.8576 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/0.8741, allocations: 7.031 kB / 0.8576 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.908e-06/0.8741, allocations: 0 / 0.8576 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-06/0.8741, allocations: 0 / 0.8576 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.491e-05/0.8742, allocations: 88.73 kB / 0.8577 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8742, allocations: 0 / 0.8577 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001875/0.8744, allocations: 7.688 kB / 0.8577 GB, free: 15.45 MB / 0.6387 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 (1): * Single equations (assignments): 1 * 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.0004052/0.8748, allocations: 0.5908 MB / 0.8583 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.8749, allocations: 18.53 kB / 0.8583 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8749, allocations: 0 / 0.8583 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.47e-06/0.8749, allocations: 2.719 kB / 0.8583 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.8752, allocations: 6.219 kB / 0.8583 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.8756, allocations: 142.8 kB / 0.8584 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.645e-05/0.8756, allocations: 56.55 kB / 0.8585 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.123e-05/0.8757, allocations: 13.92 kB / 0.8585 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.8757, allocations: 7.438 kB / 0.8585 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of SimCode: time 3.81e-07/0.8757, allocations: 0 / 0.8585 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03082/0.9065, allocations: 1.9 MB / 0.8604 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.91, allocations: 2.797 kB / 0.8604 GB, free: 13.4 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_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_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.931722085922956] Failed to read output from testmodel.py, exit status != 0: 12.019324179273099 12.036421749 11.162695434 Calling exit ...