Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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.00163/0.00163, allocations: 113.8 kB / 17.13 MB, free: 5.754 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.00201/0.00201, allocations: 192.6 kB / 20.08 MB, free: 2.848 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.561/1.561, allocations: 225.6 MB / 248.5 MB, free: 3.598 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.8804/0.8804, allocations: 129.2 MB / 432.5 MB, free: 13.15 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.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 0.5987 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4933/0.4953, allocations: 83.44 MB / 0.6802 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1816/0.6769, allocations: 148.7 MB / 0.8254 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.000157/0.6771, allocations: 47.86 kB / 0.8254 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.6771, allocations: 0 / 0.8254 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.6772, allocations: 0 / 0.8254 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.806e-05/0.6773, allocations: 19.91 kB / 0.8255 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008191/0.6781, allocations: 219.1 kB / 0.8257 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.137e-05/0.6782, allocations: 31.91 kB / 0.8257 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.6782, allocations: 0 / 0.8257 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.964e-05/0.6783, allocations: 27.91 kB / 0.8257 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.158e-05/0.6783, allocations: 11.92 kB / 0.8257 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.6784, allocations: 4 kB / 0.8257 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004389/0.6788, allocations: 207.4 kB / 0.8259 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.6788, allocations: 11.98 kB / 0.8259 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.6789, allocations: 15.92 kB / 0.826 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.6791, allocations: 110.8 kB / 0.8261 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.6791, allocations: 4 kB / 0.8261 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6791, allocations: 0 / 0.8261 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.6791, allocations: 0 / 0.8261 GB, free: 8.125 MB / 0.6387 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.0004596/0.6796, allocations: 343.3 kB / 0.8264 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.6797, allocations: 12.03 kB / 0.8264 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.6797, allocations: 34.75 kB / 0.8264 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003131/0.68, allocations: 28.91 kB / 0.8265 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.6801, allocations: 168.1 kB / 0.8266 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/0.6802, allocations: 29.64 kB / 0.8267 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.6802, allocations: 4 kB / 0.8267 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.6804, allocations: 45.69 kB / 0.8267 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.6804, allocations: 0 / 0.8267 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.6804, allocations: 0 / 0.8267 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.6804, allocations: 0 / 0.8267 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.646e-05/0.6804, allocations: 23.98 kB / 0.8267 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.6808, allocations: 264.8 kB / 0.827 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.374e-05/0.6809, allocations: 30.52 kB / 0.827 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.6809, allocations: 4.859 kB / 0.827 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.6811, allocations: 97.16 kB / 0.8271 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.6811, allocations: 38.55 kB / 0.8271 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6811, allocations: 0 / 0.8271 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0002667/0.6814, allocations: 45.66 kB / 0.8272 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.6815, allocations: 67.27 kB / 0.8272 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.063e-05/0.6815, allocations: 101.8 kB / 0.8273 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.6816, allocations: 25.7 kB / 0.8274 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.6816, allocations: 96.22 kB / 0.8275 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.6816, allocations: 7.938 kB / 0.8275 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.6817, allocations: 17.72 kB / 0.8275 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6818, allocations: 310.8 kB / 0.8278 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.6818, allocations: 4 kB / 0.8278 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.765e-05/0.6819, allocations: 30.56 kB / 0.8278 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.146e-05/0.6819, allocations: 34.52 kB / 0.8278 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6819, allocations: 0 / 0.8278 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.144e-05/0.682, allocations: 53.62 kB / 0.8279 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.682, allocations: 9.875 kB / 0.8279 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.682, allocations: 0 / 0.8279 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.682, allocations: 0 / 0.8279 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.129e-05/0.6821, allocations: 8 kB / 0.8279 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.6821, allocations: 8.031 kB / 0.8279 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.6821, allocations: 3.984 kB / 0.8279 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.6821, allocations: 4 kB / 0.8279 GB, free: 5.941 MB / 0.6387 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.202e-05/0.6822, allocations: 109.8 kB / 0.828 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.6823, allocations: 7.953 kB / 0.828 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.02e-05/0.6823, allocations: 7.125 kB / 0.828 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.6823, allocations: 0 / 0.828 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.6823, allocations: 3.938 kB / 0.8281 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.6823, allocations: 0 / 0.8281 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.6826, allocations: 367.6 kB / 0.8284 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6826, allocations: 0 / 0.8284 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-05/0.6827, allocations: 7.938 kB / 0.8284 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.6827, allocations: 0 / 0.8284 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.6827, allocations: 0 / 0.8284 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6827, allocations: 0 / 0.8284 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6827, allocations: 3.938 kB / 0.8284 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.95e-05/0.6828, allocations: 74.05 kB / 0.8285 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.6828, allocations: 84.98 kB / 0.8286 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.6828, allocations: 4 kB / 0.8286 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-05/0.6829, allocations: 3.984 kB / 0.8286 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.6829, allocations: 4 kB / 0.8286 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.6829, allocations: 7.938 kB / 0.8286 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.71e-05/0.683, allocations: 87.31 kB / 0.8287 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.683, allocations: 0 / 0.8287 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001979/0.6832, allocations: 4 kB / 0.8287 GB, free: 5.07 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000455/0.6836, allocations: 0.621 MB / 0.8293 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 9.821e-05/0.6837, allocations: 19.92 kB / 0.8293 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.6837, allocations: 0 / 0.8293 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.6837, allocations: 4 kB / 0.8293 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.684, allocations: 11.98 kB / 0.8293 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.6844, allocations: 153.5 kB / 0.8295 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.6847, allocations: 0.6766 MB / 0.8301 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.15e-05/0.6848, allocations: 8.406 kB / 0.8301 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.6848, allocations: 7.438 kB / 0.8301 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.6848, allocations: 4 kB / 0.8301 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.7102, allocations: 1.457 MB / 0.8316 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.748, allocations: 2.344 kB / 0.8316 GB, free: 2.098 MB / 0.6387 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.307198521215469] Failed to read output from testmodel.py, exit status != 0: 8.819003256969154 8.847809172 8.163382656 Calling exit ...