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.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.001792/0.001792, 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.002274/0.002274, allocations: 213.3 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.506/1.506, 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.9695/0.9695, allocations: 149.9 MB / 463 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.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: 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.002309/0.002309, allocations: 63.09 kB / 0.6411 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1931, allocations: 89.18 MB / 0.7281 GB, free: 1.062 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5692/0.7623, allocations: 130.3 MB / 0.8554 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001503/0.7624, allocations: 51.84 kB / 0.8555 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.7625, allocations: 0 / 0.8555 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.7626, allocations: 3.938 kB / 0.8555 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.455e-05/0.7627, allocations: 13.38 kB / 0.8555 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008136/0.7635, allocations: 214.8 kB / 0.8557 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.355e-05/0.7635, allocations: 30.23 kB / 0.8557 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.664e-05/0.7636, allocations: 3.984 kB / 0.8557 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.442e-05/0.7636, allocations: 22.02 kB / 0.8557 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.515e-05/0.7637, allocations: 10.27 kB / 0.8557 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.7637, allocations: 0 / 0.8557 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.7641, allocations: 165.8 kB / 0.8559 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.7641, allocations: 5.281 kB / 0.8559 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.7642, allocations: 21.11 kB / 0.8559 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.7644, allocations: 104.4 kB / 0.856 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7644, allocations: 0 / 0.856 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7644, allocations: 0 / 0.856 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.7644, allocations: 0 / 0.856 GB, free: 1.453 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.0004113/0.7648, allocations: 270.4 kB / 0.8563 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.7649, allocations: 10.62 kB / 0.8563 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.7649, allocations: 34.73 kB / 0.8563 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003299/0.7653, allocations: 26.34 kB / 0.8564 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.7654, allocations: 109.3 kB / 0.8565 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.158e-05/0.7654, allocations: 65.47 kB / 0.8565 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.7654, allocations: 0 / 0.8565 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.7656, allocations: 72.8 kB / 0.8566 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.7656, allocations: 0 / 0.8566 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.7656, allocations: 0 / 0.8566 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.7656, allocations: 3 kB / 0.8566 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.543e-05/0.7657, allocations: 21.27 kB / 0.8566 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.7661, allocations: 235.4 kB / 0.8568 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 6.134e-05/0.7662, allocations: 28.39 kB / 0.8569 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.044e-05/0.7662, allocations: 11.42 kB / 0.8569 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.7663, allocations: 14.64 kB / 0.8569 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.7663, allocations: 30.56 kB / 0.8569 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7663, allocations: 0 / 0.8569 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2): time 0.0002325/0.7666, allocations: 49.53 kB / 0.857 GB, free: 468 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.7666, allocations: 55.34 kB / 0.857 GB, free: 400 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.7667, allocations: 109.7 kB / 0.8571 GB, free: 288 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.7667, allocations: 29.83 kB / 0.8572 GB, free: 252 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.7668, allocations: 89.12 kB / 0.8572 GB, free: 160 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.857e-06/0.7668, allocations: 6.859 kB / 0.8572 GB, free: 156 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.7668, allocations: 12.25 kB / 0.8573 GB, free: 140 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.767, allocations: 321.5 kB / 0.8576 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.767, allocations: 6.328 kB / 0.8576 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/0.767, allocations: 21.39 kB / 0.8576 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.545e-05/0.7671, allocations: 34.12 kB / 0.8576 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7671, allocations: 2.938 kB / 0.8576 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.831e-05/0.7672, allocations: 57.89 kB / 0.8577 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.7672, allocations: 4.875 kB / 0.8577 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.7672, allocations: 0 / 0.8577 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.7672, allocations: 5.016 kB / 0.8577 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.464e-05/0.7673, allocations: 8.344 kB / 0.8577 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.7673, allocations: 3.938 kB / 0.8577 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.126e-05/0.7673, allocations: 4.453 kB / 0.8577 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.7673, allocations: 2.406 kB / 0.8577 GB, free: 15.69 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.722e-05/0.7674, allocations: 116.3 kB / 0.8578 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.7674, allocations: 3.062 kB / 0.8578 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.7675, allocations: 7.312 kB / 0.8578 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.7675, allocations: 0 / 0.8578 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.7675, allocations: 11.36 kB / 0.8578 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7675, allocations: 0 / 0.8578 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.7678, allocations: 330.4 kB / 0.8582 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7678, allocations: 0 / 0.8582 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.7678, allocations: 4.688 kB / 0.8582 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.7679, allocations: 6.594 kB / 0.8582 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.7679, allocations: 4.062 kB / 0.8582 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.7679, allocations: 3.938 kB / 0.8582 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7679, allocations: 2.156 kB / 0.8582 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.903e-05/0.768, allocations: 73.22 kB / 0.8582 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.768, allocations: 9.891 kB / 0.8583 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.768, allocations: 0 / 0.8583 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.7681, allocations: 7.391 kB / 0.8583 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.7681, allocations: 2.844 kB / 0.8583 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.7681, allocations: 0 / 0.8583 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.856e-05/0.7681, allocations: 84.47 kB / 0.8583 GB, free: 15 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7681, allocations: 4.031 kB / 0.8583 GB, free: 15 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001937/0.7683, allocations: 5.188 kB / 0.8584 GB, free: 15 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.0004676/0.7688, allocations: 0.6147 MB / 0.859 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.7689, allocations: 19.33 kB / 0.859 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7689, allocations: 0 / 0.859 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.277e-05/0.7689, allocations: 5.969 kB / 0.859 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.7692, allocations: 11.38 kB / 0.859 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.7696, allocations: 153.9 kB / 0.8591 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.593e-05/0.7696, allocations: 58.95 kB / 0.8592 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.083e-05/0.7697, allocations: 6.922 kB / 0.8592 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.7697, allocations: 14.31 kB / 0.8592 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of SimCode: time 3.91e-07/0.7697, allocations: 0 / 0.8592 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.8002, allocations: 2.001 MB / 0.8612 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.17, allocations: 11.84 kB / 0.8612 GB, free: 12.81 MB / 0.6387 GB " [Timeout remaining time 648] (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: 15.985539181157947] Failed to read output from testmodel.py, exit status != 0: 12.286045772023499 12.302430669 11.534759512 Calling exit ...