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.001341/0.001341, 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.001457/0.001457, allocations: 209.5 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9934/0.9934, allocations: 149.9 MB / 463.1 MB, free: 10.36 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.002154/0.002154, allocations: 69.08 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1938, allocations: 89.18 MB / 0.7282 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5598/0.7536, allocations: 129.9 MB / 0.855 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001548/0.7538, allocations: 48.5 kB / 0.8551 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.7538, allocations: 0.75 kB / 0.8551 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.7539, allocations: 10.61 kB / 0.8551 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.616e-05/0.754, allocations: 9.875 kB / 0.8551 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.7545, allocations: 107.6 kB / 0.8552 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 7.991e-05/0.7545, allocations: 35.75 kB / 0.8553 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.858e-05/0.7546, allocations: 2.906 kB / 0.8553 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.969e-05/0.7546, allocations: 23.69 kB / 0.8553 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.681e-05/0.7547, allocations: 8.375 kB / 0.8553 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.7547, allocations: 1.312 kB / 0.8553 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002316/0.7549, allocations: 74.28 kB / 0.8554 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.196e-05/0.755, allocations: 4.875 kB / 0.8554 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.755, allocations: 15.14 kB / 0.8554 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.7552, allocations: 68.41 kB / 0.8554 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7552, allocations: 0 / 0.8554 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7552, allocations: 0 / 0.8554 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.7552, allocations: 0 / 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.0003849/0.7555, allocations: 265.7 kB / 0.8557 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.7556, allocations: 8.438 kB / 0.8557 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.64e-05/0.7556, allocations: 30.75 kB / 0.8557 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.7558, allocations: 26.25 kB / 0.8558 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.7559, allocations: 109.2 kB / 0.8559 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.189e-05/0.756, allocations: 57.41 kB / 0.8559 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.756, allocations: 2.25 kB / 0.8559 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.7562, allocations: 78.34 kB / 0.856 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.7562, allocations: 4 kB / 0.856 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.7562, allocations: 0 / 0.856 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.7562, allocations: 2.188 kB / 0.856 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.112e-05/0.7563, allocations: 19.08 kB / 0.856 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.7567, allocations: 239.5 kB / 0.8562 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 4.786e-05/0.7567, allocations: 21.52 kB / 0.8563 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/0.7567, allocations: 4.859 kB / 0.8563 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-06/0.7567, allocations: 0 / 0.8563 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.7568, allocations: 37.44 kB / 0.8563 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.7568, allocations: 0 / 0.8563 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.7569, allocations: 38.56 kB / 0.8563 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.7569, allocations: 58.03 kB / 0.8564 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.757, allocations: 101.8 kB / 0.8565 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.757, allocations: 25.7 kB / 0.8565 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.7571, allocations: 98.78 kB / 0.8566 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-06/0.7571, allocations: 0 / 0.8566 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.7571, allocations: 16.44 kB / 0.8566 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.7573, allocations: 317.6 kB / 0.8569 GB, free: 252 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.7573, allocations: 10.98 kB / 0.8569 GB, free: 244 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.359e-05/0.7573, allocations: 27.33 kB / 0.857 GB, free: 212 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.262e-05/0.7574, allocations: 30.86 kB / 0.857 GB, free: 180 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.7574, allocations: 0 / 0.857 GB, free: 180 kB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.344e-05/0.7575, allocations: 53.69 kB / 0.8571 GB, free: 136 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.7575, allocations: 5.469 kB / 0.8571 GB, free: 136 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.7575, allocations: 2.781 kB / 0.8571 GB, free: 136 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.7575, allocations: 8.078 kB / 0.8571 GB, free: 128 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.7576, allocations: 9.172 kB / 0.8571 GB, free: 124 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.7576, allocations: 5.969 kB / 0.8571 GB, free: 120 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/0.7576, allocations: 7.359 kB / 0.8571 GB, free: 116 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.7576, allocations: 0 / 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.907e-05/0.7577, allocations: 109.1 kB / 0.8572 GB, free: 0 / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.7577, allocations: 2.219 kB / 0.8572 GB, free: 0 / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.072e-05/0.7578, allocations: 7.266 kB / 0.8572 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.7578, allocations: 3.938 kB / 0.8572 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7578, allocations: 3.938 kB / 0.8572 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.7578, allocations: 6.969 kB / 0.8572 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.758, allocations: 318 kB / 0.8575 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.758, allocations: 0 / 0.8575 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.7581, allocations: 2.188 kB / 0.8575 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.7581, allocations: 3.938 kB / 0.8575 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.7581, allocations: 0 / 0.8575 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.7581, allocations: 0 / 0.8575 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7581, allocations: 0.8125 kB / 0.8575 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.072e-05/0.7582, allocations: 61.14 kB / 0.8576 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.7582, allocations: 14.84 kB / 0.8576 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.7582, allocations: 4.062 kB / 0.8576 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/0.7583, allocations: 2.375 kB / 0.8576 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-06/0.7583, allocations: 0 / 0.8576 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.7583, allocations: 5.938 kB / 0.8576 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.66e-05/0.7583, allocations: 88.27 kB / 0.8577 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.7583, allocations: 0 / 0.8577 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001902/0.7585, allocations: 5.625 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.000383/0.7589, allocations: 0.589 MB / 0.8583 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 7.809e-05/0.759, allocations: 23.31 kB / 0.8583 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.759, allocations: 0 / 0.8583 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.28e-06/0.759, allocations: 2.844 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.0002294/0.7592, allocations: 6.906 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.0003569/0.7596, allocations: 141.1 kB / 0.8584 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.252e-05/0.7596, allocations: 64.44 kB / 0.8585 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.816e-05/0.7597, allocations: 10.95 kB / 0.8585 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.7597, allocations: 10.06 kB / 0.8585 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.7597, allocations: 0 / 0.8585 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.7891, allocations: 1.891 MB / 0.8604 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.92, allocations: 7.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.68907360592857] Failed to read output from testmodel.py, exit status != 0: 12.026564447209239 12.044275937 11.285757293 Calling exit ...