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.0008287/0.0008287, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008774/0.0008774, allocations: 169.9 kB / 23.21 MB, free: 1.359 MB / 18.57 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 0.8848/0.8848, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.5631/0.5631, allocations: 114 MB / 373.9 MB, free: 8.703 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.293e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1224/0.1224, allocations: 130 MB / 0.6811 GB, free: 296 kB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001787/0.1226, allocations: 55.73 kB / 0.6812 GB, free: 240 kB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.1226, allocations: 3.938 kB / 0.6812 GB, free: 236 kB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.1228, allocations: 7.984 kB / 0.6812 GB, free: 228 kB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.196e-05/0.1229, allocations: 11.92 kB / 0.6812 GB, free: 216 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005243/0.1234, allocations: 107.6 kB / 0.6813 GB, free: 108 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.549e-05/0.1235, allocations: 31.84 kB / 0.6813 GB, free: 76 kB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.1235, allocations: 0 / 0.6813 GB, free: 76 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.749e-05/0.1236, allocations: 23.92 kB / 0.6813 GB, free: 52 kB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.1237, allocations: 23.84 kB / 0.6814 GB, free: 28 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1237, allocations: 4 kB / 0.6814 GB, free: 24 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.327/0.4507, allocations: 59.61 kB / 0.6814 GB, free: 41.96 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.7e-05/0.4507, allocations: 13.45 kB / 0.6814 GB, free: 41.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.4508, allocations: 7.984 kB / 0.6814 GB, free: 41.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.451, allocations: 75.03 kB / 0.6815 GB, free: 41.96 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.451, allocations: 0 / 0.6815 GB, free: 41.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.451, allocations: 2.938 kB / 0.6815 GB, free: 41.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.451, allocations: 0 / 0.6815 GB, free: 41.96 MB / 0.6355 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.0003313/0.4513, allocations: 257.9 kB / 0.6818 GB, free: 41.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4514, allocations: 11.41 kB / 0.6818 GB, free: 41.71 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.403e-05/0.4514, allocations: 33.03 kB / 0.6818 GB, free: 41.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.4516, allocations: 21.75 kB / 0.6818 GB, free: 41.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.036e-05/0.4516, allocations: 108.8 kB / 0.6819 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/0.4517, allocations: 58.53 kB / 0.682 GB, free: 41.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.4517, allocations: 0 / 0.682 GB, free: 41.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.4518, allocations: 74.36 kB / 0.6821 GB, free: 41.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.4518, allocations: 0 / 0.6821 GB, free: 41.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4518, allocations: 4.875 kB / 0.6821 GB, free: 41.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.4518, allocations: 0 / 0.6821 GB, free: 41.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.229e-05/0.4519, allocations: 17.42 kB / 0.6821 GB, free: 41.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.4522, allocations: 237 kB / 0.6823 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.507e-05/0.4522, allocations: 18.55 kB / 0.6823 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.4522, allocations: 10.73 kB / 0.6823 GB, free: 41.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-06/0.4522, allocations: 0 / 0.6823 GB, free: 41.15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.4522, allocations: 36.7 kB / 0.6824 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.4522, allocations: 5 kB / 0.6824 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001185/0.4524, allocations: 31.02 kB / 0.6824 GB, free: 41.08 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.4524, allocations: 54.62 kB / 0.6825 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.054e-05/0.4524, allocations: 117.7 kB / 0.6826 GB, free: 40.92 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.4524, allocations: 26.45 kB / 0.6826 GB, free: 40.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.659e-05/0.4525, allocations: 88.03 kB / 0.6827 GB, free: 40.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-06/0.4525, allocations: 4.953 kB / 0.6827 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.4525, allocations: 23.59 kB / 0.6827 GB, free: 40.78 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.739e-05/0.4525, allocations: 317.1 kB / 0.683 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.336e-05/0.4525, allocations: 5.938 kB / 0.683 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.4526, allocations: 26.44 kB / 0.683 GB, free: 40.44 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.953e-05/0.4526, allocations: 27.7 kB / 0.6831 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4526, allocations: 0 / 0.6831 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.224e-05/0.4526, allocations: 59.23 kB / 0.6831 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.4527, allocations: 5.062 kB / 0.6831 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4527, allocations: 4.375 kB / 0.6831 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.4527, allocations: 2.25 kB / 0.6831 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.173e-05/0.4527, allocations: 9.938 kB / 0.6831 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4527, allocations: 0 / 0.6831 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.4527, allocations: 7.828 kB / 0.6832 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.4528, allocations: 2.719 kB / 0.6832 GB, free: 40.38 MB / 0.6355 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 4.005e-05/0.4528, allocations: 118.2 kB / 0.6833 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.4528, allocations: 3.562 kB / 0.6833 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.4528, allocations: 9.562 kB / 0.6833 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4528, allocations: 0 / 0.6833 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4528, allocations: 0 / 0.6833 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4528, allocations: 0 / 0.6833 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.453, allocations: 320.9 kB / 0.6836 GB, free: 39.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.453, allocations: 2.719 kB / 0.6836 GB, free: 39.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-06/0.453, allocations: 0 / 0.6836 GB, free: 39.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.453, allocations: 0 / 0.6836 GB, free: 39.92 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.453, allocations: 0 / 0.6836 GB, free: 39.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.453, allocations: 9.672 kB / 0.6836 GB, free: 39.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.453, allocations: 6.969 kB / 0.6836 GB, free: 39.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.275e-05/0.453, allocations: 53.23 kB / 0.6837 GB, free: 39.85 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-06/0.453, allocations: 0 / 0.6837 GB, free: 39.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.453, allocations: 6.453 kB / 0.6837 GB, free: 39.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.261e-05/0.4531, allocations: 2.594 kB / 0.6837 GB, free: 39.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.4531, allocations: 6.938 kB / 0.6837 GB, free: 39.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-06/0.4531, allocations: 0 / 0.6837 GB, free: 39.85 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.767e-05/0.4531, allocations: 84.28 kB / 0.6838 GB, free: 39.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4531, allocations: 6.562 kB / 0.6838 GB, free: 39.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001307/0.4532, allocations: 8.562 kB / 0.6838 GB, free: 39.77 MB / 0.6355 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.0001452/0.4534, allocations: 0.5927 MB / 0.6843 GB, free: 39.19 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.664e-05/0.4535, allocations: 11.28 kB / 0.6844 GB, free: 39.19 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4535, allocations: 0 / 0.6844 GB, free: 39.19 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.967e-06/0.4535, allocations: 3.719 kB / 0.6844 GB, free: 39.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.4537, allocations: 13.03 kB / 0.6844 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.454, allocations: 134.3 kB / 0.6845 GB, free: 39.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.342e-05/0.454, allocations: 61.44 kB / 0.6846 GB, free: 38.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.555e-05/0.4541, allocations: 7.797 kB / 0.6846 GB, free: 38.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.4541, allocations: 12.75 kB / 0.6846 GB, free: 38.97 MB / 0.6355 GB Notification: Performance of SimCode: time 8.11e-07/0.4541, allocations: 3.828 kB / 0.6846 GB, free: 38.97 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.4777, allocations: 2.034 MB / 0.6866 GB, free: 38.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.382/7.859, allocations: 6.547 kB / 0.6866 GB, free: 38.21 MB / 0.6355 GB " [Timeout remaining time 652] (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: 10.481758040376008] Failed to read output from testmodel.py, exit status != 0: 7.94071239605546 7.949886132 7.496998586 Calling exit ...