Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001288/0.001288, allocations: 113.9 kB / 17.6 MB, free: 4.668 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.001361/0.001361, allocations: 190.8 kB / 20.78 MB, free: 1.5 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.525/1.525, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.882/2.882, allocations: 476.7 MB / 0.7629 GB, free: 15.07 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 63.89 kB / 1.107 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271/1.273, allocations: 168.7 MB / 1.271 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2282/1.501, allocations: 148.8 MB / 1.417 GB, free: 9.594 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0002439/1.501, allocations: 52.08 kB / 1.417 GB, free: 9.555 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/1.501, allocations: 0 / 1.417 GB, free: 9.555 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001857/1.502, allocations: 5.156 kB / 1.417 GB, free: 9.551 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/1.502, allocations: 18.31 kB / 1.417 GB, free: 9.535 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/1.503, allocations: 210.2 kB / 1.417 GB, free: 9.391 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/1.503, allocations: 37.5 kB / 1.417 GB, free: 9.371 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 6.761e-05/1.503, allocations: 2.219 kB / 1.417 GB, free: 9.371 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 7.496e-05/1.503, allocations: 25.03 kB / 1.417 GB, free: 9.355 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/1.503, allocations: 6.281 kB / 1.417 GB, free: 9.355 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/1.503, allocations: 1.031 kB / 1.417 GB, free: 9.355 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005857/1.504, allocations: 211.8 kB / 1.417 GB, free: 9.23 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/1.504, allocations: 6.953 kB / 1.417 GB, free: 9.227 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/1.504, allocations: 25.05 kB / 1.417 GB, free: 9.207 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003709/1.504, allocations: 111.5 kB / 1.417 GB, free: 9.152 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/1.504, allocations: 1.344 kB / 1.417 GB, free: 9.152 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.566e-06/1.504, allocations: 0 / 1.417 GB, free: 9.152 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.06e-05/1.504, allocations: 0 / 1.417 GB, free: 9.152 MB / 1.107 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.0007316/1.505, allocations: 342.2 kB / 1.418 GB, free: 8.785 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 7.042e-05/1.505, allocations: 8.906 kB / 1.418 GB, free: 8.785 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.278e-05/1.505, allocations: 35.92 kB / 1.418 GB, free: 8.742 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004452/1.506, allocations: 35.45 kB / 1.418 GB, free: 8.723 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/1.506, allocations: 165.5 kB / 1.418 GB, free: 8.523 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-05/1.506, allocations: 30.97 kB / 1.418 GB, free: 8.488 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/1.506, allocations: 1.344 kB / 1.418 GB, free: 8.488 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/1.506, allocations: 49.52 kB / 1.418 GB, free: 8.445 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/1.506, allocations: 1.281 kB / 1.418 GB, free: 8.445 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/1.506, allocations: 0 / 1.418 GB, free: 8.445 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/1.506, allocations: 5.25 kB / 1.418 GB, free: 8.441 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.279e-05/1.506, allocations: 21.11 kB / 1.418 GB, free: 8.434 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/1.507, allocations: 265.1 kB / 1.418 GB, free: 8.141 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 7.747e-05/1.507, allocations: 22.98 kB / 1.418 GB, free: 8.113 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/1.507, allocations: 6.734 kB / 1.418 GB, free: 8.105 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/1.507, allocations: 94.88 kB / 1.418 GB, free: 8.004 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/1.507, allocations: 40.44 kB / 1.419 GB, free: 7.957 MB / 1.107 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.507, allocations: 3.938 kB / 1.419 GB, free: 7.953 MB / 1.107 GB Notification: Performance of matching and sorting (n=2): time 0.0003189/1.508, allocations: 47.69 kB / 1.419 GB, free: 7.914 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/1.508, allocations: 56.19 kB / 1.419 GB, free: 7.848 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/1.508, allocations: 99.47 kB / 1.419 GB, free: 7.746 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/1.508, allocations: 26.86 kB / 1.419 GB, free: 7.715 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/1.508, allocations: 93.31 kB / 1.419 GB, free: 7.621 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/1.508, allocations: 9.156 kB / 1.419 GB, free: 7.613 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/1.508, allocations: 17.06 kB / 1.419 GB, free: 7.594 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002059/1.508, allocations: 316 kB / 1.419 GB, free: 7.277 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/1.508, allocations: 3.125 kB / 1.419 GB, free: 7.277 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.725e-05/1.508, allocations: 27.09 kB / 1.419 GB, free: 7.246 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.224e-05/1.508, allocations: 35.58 kB / 1.419 GB, free: 7.211 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.508, allocations: 0 / 1.419 GB, free: 7.211 MB / 1.107 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001064/1.508, allocations: 57.55 kB / 1.419 GB, free: 7.164 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.508, allocations: 6.469 kB / 1.419 GB, free: 7.164 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.508, allocations: 0 / 1.419 GB, free: 7.164 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/1.508, allocations: 1.219 kB / 1.419 GB, free: 7.164 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-05/1.509, allocations: 6.312 kB / 1.419 GB, free: 7.164 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/1.509, allocations: 12.94 kB / 1.419 GB, free: 7.152 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.87e-05/1.509, allocations: 1.188 kB / 1.419 GB, free: 7.152 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/1.509, allocations: 2.406 kB / 1.419 GB, free: 7.152 MB / 1.107 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 0.0001191/1.509, allocations: 112.3 kB / 1.419 GB, free: 7.035 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/1.509, allocations: 1.344 kB / 1.419 GB, free: 7.035 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/1.509, allocations: 7.125 kB / 1.419 GB, free: 7.027 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/1.509, allocations: 1.344 kB / 1.419 GB, free: 7.027 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/1.509, allocations: 3.938 kB / 1.419 GB, free: 7.023 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.509, allocations: 1.344 kB / 1.419 GB, free: 7.023 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/1.509, allocations: 371.9 kB / 1.42 GB, free: 6.609 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.509, allocations: 1.312 kB / 1.42 GB, free: 6.609 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-05/1.509, allocations: 6.75 kB / 1.42 GB, free: 6.605 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/1.509, allocations: 0.6875 kB / 1.42 GB, free: 6.605 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/1.509, allocations: 0.7812 kB / 1.42 GB, free: 6.605 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.509, allocations: 0.7812 kB / 1.42 GB, free: 6.605 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.509, allocations: 4.75 kB / 1.42 GB, free: 6.602 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/1.509, allocations: 75.8 kB / 1.42 GB, free: 6.516 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/1.509, allocations: 82.11 kB / 1.42 GB, free: 6.418 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/1.509, allocations: 3.062 kB / 1.42 GB, free: 6.418 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/1.51, allocations: 5.109 kB / 1.42 GB, free: 6.414 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/1.51, allocations: 1.625 kB / 1.42 GB, free: 6.414 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/1.51, allocations: 5.094 kB / 1.42 GB, free: 6.41 MB / 1.107 GB Notification: Performance of sorting global known variables: time 6.975e-05/1.51, allocations: 90.52 kB / 1.42 GB, free: 6.324 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/1.51, allocations: 1.344 kB / 1.42 GB, free: 6.324 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001997/1.51, allocations: 5.594 kB / 1.42 GB, free: 6.324 MB / 1.107 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.0006008/1.51, allocations: 0.6141 MB / 1.421 GB, free: 5.707 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001224/1.511, allocations: 22.67 kB / 1.421 GB, free: 5.695 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.511, allocations: 0 / 1.421 GB, free: 5.695 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.771e-05/1.511, allocations: 11.97 kB / 1.421 GB, free: 5.688 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/1.511, allocations: 4.969 kB / 1.421 GB, free: 5.688 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/1.511, allocations: 147.1 kB / 1.421 GB, free: 5.531 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/1.512, allocations: 0.6807 MB / 1.421 GB, free: 4.828 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 5.833e-05/1.512, allocations: 7.859 kB / 1.422 GB, free: 4.824 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/1.512, allocations: 9.594 kB / 1.422 GB, free: 4.816 MB / 1.107 GB Notification: Performance of SimCode: time 2.8e-07/1.512, allocations: 0 / 1.422 GB, free: 4.816 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/1.539, allocations: 1.445 MB / 1.423 GB, free: 4.012 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.876/9.415, allocations: 7.172 kB / 1.423 GB, free: 4.008 MB / 1.107 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.672268563997932] Failed to read output from testmodel.py, exit status != 0: 9.484754903009161 9.501146113 7.993552849 Calling exit ...