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.001512/0.001512, 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.002137/0.002137, allocations: 209.6 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.48/1.48, 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.9873/0.9873, allocations: 149.9 MB / 463.1 MB, free: 10.31 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.003413/0.003413, allocations: 68.02 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1918, allocations: 89.16 MB / 0.7281 GB, free: 1.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5755/0.7673, allocations: 130.3 MB / 0.8554 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001408/0.7674, allocations: 50.06 kB / 0.8555 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.7675, allocations: 4 kB / 0.8555 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.7676, allocations: 0 / 0.8555 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.684e-05/0.7676, allocations: 10.3 kB / 0.8555 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007638/0.7684, allocations: 217.3 kB / 0.8557 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 7.745e-05/0.7685, allocations: 34.05 kB / 0.8557 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.7685, allocations: 4 kB / 0.8557 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.231e-05/0.7686, allocations: 16.53 kB / 0.8557 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.329e-05/0.7686, allocations: 11.81 kB / 0.8557 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.7686, allocations: 0 / 0.8557 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003618/0.769, allocations: 168.3 kB / 0.8559 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.7691, allocations: 14.2 kB / 0.8559 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.7691, allocations: 5.469 kB / 0.8559 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.7693, allocations: 106.8 kB / 0.856 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7693, allocations: 0 / 0.856 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.078e-06/0.7693, allocations: 3.984 kB / 0.856 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.7693, allocations: 4 kB / 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.0004252/0.7697, allocations: 266.3 kB / 0.8563 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.7698, allocations: 10.19 kB / 0.8563 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.024e-05/0.7698, allocations: 34.73 kB / 0.8563 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000317/0.7701, allocations: 26.06 kB / 0.8564 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.7703, allocations: 105.8 kB / 0.8565 GB, free: 1 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.7703, allocations: 57.94 kB / 0.8565 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.7703, allocations: 0 / 0.8565 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.7705, allocations: 80.53 kB / 0.8566 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7705, allocations: 4 kB / 0.8566 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.7705, allocations: 0 / 0.8566 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.7705, allocations: 2.719 kB / 0.8566 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.883e-05/0.7706, allocations: 25.19 kB / 0.8566 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.771, allocations: 231.6 kB / 0.8568 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 7.305e-05/0.7711, allocations: 30.77 kB / 0.8569 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.319e-05/0.7711, allocations: 8.844 kB / 0.8569 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.7712, allocations: 17.41 kB / 0.8569 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.7712, allocations: 38.48 kB / 0.8569 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.7712, allocations: 0 / 0.8569 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2): time 0.0002521/0.7715, allocations: 47.09 kB / 0.857 GB, free: 464 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.7715, allocations: 53.62 kB / 0.857 GB, free: 400 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.914e-05/0.7716, allocations: 103.3 kB / 0.8571 GB, free: 292 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.7717, allocations: 28.48 kB / 0.8572 GB, free: 260 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.7717, allocations: 96.02 kB / 0.8572 GB, free: 160 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.676e-06/0.7717, allocations: 4.078 kB / 0.8573 GB, free: 156 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.7718, allocations: 18.88 kB / 0.8573 GB, free: 136 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.7719, allocations: 314.8 kB / 0.8576 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.7719, allocations: 5.469 kB / 0.8576 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.772, allocations: 24 kB / 0.8576 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.048e-05/0.772, allocations: 27.7 kB / 0.8576 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.772, allocations: 3.938 kB / 0.8576 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.222e-05/0.7721, allocations: 57.91 kB / 0.8577 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.7721, allocations: 9.188 kB / 0.8577 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.7721, allocations: 2 kB / 0.8577 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.7722, allocations: 0 / 0.8577 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.862e-05/0.7722, allocations: 6.25 kB / 0.8577 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.7722, allocations: 7.922 kB / 0.8577 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/0.7723, allocations: 6.141 kB / 0.8577 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.7723, allocations: 3 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 9.864e-05/0.7724, allocations: 111.8 kB / 0.8578 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.7724, allocations: 7.656 kB / 0.8578 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.7724, allocations: 7.312 kB / 0.8578 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.7724, allocations: 4 kB / 0.8578 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.7724, allocations: 3.938 kB / 0.8578 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.7724, allocations: 0 / 0.8578 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.7728, allocations: 335.8 kB / 0.8582 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7728, allocations: 0 / 0.8582 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.7728, allocations: 2.344 kB / 0.8582 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.7728, allocations: 6.406 kB / 0.8582 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.7728, allocations: 0 / 0.8582 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7728, allocations: 0 / 0.8582 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7728, allocations: 3 kB / 0.8582 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.806e-05/0.7729, allocations: 77.02 kB / 0.8582 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.7729, allocations: 11.83 kB / 0.8583 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.7729, allocations: 3.094 kB / 0.8583 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/0.773, allocations: 2.781 kB / 0.8583 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.773, allocations: 3.984 kB / 0.8583 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.773, allocations: 3.062 kB / 0.8583 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.834e-05/0.7731, allocations: 81.91 kB / 0.8584 GB, free: 15 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7731, allocations: 0 / 0.8584 GB, free: 15 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001958/0.7733, allocations: 8.25 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.0004489/0.7737, allocations: 0.6125 MB / 0.859 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.365e-05/0.7738, allocations: 14.12 kB / 0.859 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7738, allocations: 0 / 0.859 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.421e-05/0.7738, allocations: 6.953 kB / 0.859 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.7741, allocations: 11.56 kB / 0.859 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.7745, allocations: 151.7 kB / 0.8591 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.081e-05/0.7745, allocations: 60.25 kB / 0.8592 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.852e-05/0.7746, allocations: 13.55 kB / 0.8592 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.7746, allocations: 11.42 kB / 0.8592 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of SimCode: time 3.81e-07/0.7746, allocations: 0 / 0.8592 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.8033, allocations: 1.992 MB / 0.8612 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/12.15, allocations: 6.312 kB / 0.8612 GB, free: 12.85 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion_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_Examples_AirTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.939419478178024] Failed to read output from testmodel.py, exit status != 0: 12.254075579345226 12.269344956 11.496747671 Calling exit ...