Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001858/0.001858, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00251/0.00251, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002477/0.002477, allocations: 285.9 kB / 312.7 MB, free: 2.59 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.206/1.206, allocations: 180.6 MB / 0.5369 GB, free: 14.64 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.004017/0.004017, allocations: 104.6 kB / 0.7395 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1828, allocations: 95.4 MB / 0.8326 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1649/0.3477, allocations: 130.4 MB / 0.9599 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0001658/0.3479, allocations: 55.86 kB / 0.96 GB, free: 5.406 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.3479, allocations: 0 / 0.96 GB, free: 5.406 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.348, allocations: 3.938 kB / 0.96 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 7.958e-05/0.3481, allocations: 11.92 kB / 0.96 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.000834/0.3489, allocations: 207.2 kB / 0.9602 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 9.414e-05/0.349, allocations: 35.92 kB / 0.9602 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.3491, allocations: 7.922 kB / 0.9602 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.071e-05/0.3491, allocations: 11.94 kB / 0.9602 GB, free: 5.133 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.3492, allocations: 15.92 kB / 0.9603 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.3492, allocations: 3.984 kB / 0.9603 GB, free: 5.113 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.3496, allocations: 167.4 kB / 0.9604 GB, free: 4.949 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.535e-05/0.3497, allocations: 7.984 kB / 0.9604 GB, free: 4.941 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.3497, allocations: 11.94 kB / 0.9604 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.3499, allocations: 104 kB / 0.9605 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.35, allocations: 0 / 0.9605 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.513e-06/0.35, allocations: 0 / 0.9605 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.35, allocations: 4 kB / 0.9605 GB, free: 4.824 MB / 0.7012 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.0004213/0.3504, allocations: 266.3 kB / 0.9608 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3504, allocations: 9.344 kB / 0.9608 GB, free: 4.527 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.3505, allocations: 34.75 kB / 0.9608 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.3508, allocations: 24.84 kB / 0.9609 GB, free: 4.461 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.3509, allocations: 122.2 kB / 0.961 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.96e-05/0.351, allocations: 51.41 kB / 0.961 GB, free: 4.254 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.351, allocations: 3.984 kB / 0.961 GB, free: 4.25 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.3511, allocations: 79.39 kB / 0.9611 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3511, allocations: 0 / 0.9611 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.3511, allocations: 3.984 kB / 0.9611 GB, free: 4.156 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.3512, allocations: 0 / 0.9611 GB, free: 4.156 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.055e-05/0.3512, allocations: 23.98 kB / 0.9611 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.3516, allocations: 224 kB / 0.9614 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 5.536e-05/0.3516, allocations: 22.52 kB / 0.9614 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.3517, allocations: 12.86 kB / 0.9614 GB, free: 3.824 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.3518, allocations: 20.05 kB / 0.9614 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.3518, allocations: 38.56 kB / 0.9614 GB, free: 3.758 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3518, allocations: 0 / 0.9614 GB, free: 3.758 MB / 0.7012 GB Notification: Performance of matching and sorting (n=2): time 0.0002333/0.352, allocations: 45.69 kB / 0.9615 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.3521, allocations: 59.28 kB / 0.9615 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/0.3522, allocations: 105.8 kB / 0.9616 GB, free: 3.523 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3522, allocations: 25.7 kB / 0.9617 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.3523, allocations: 84.09 kB / 0.9617 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.3523, allocations: 20.02 kB / 0.9618 GB, free: 3.387 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.3523, allocations: 17.7 kB / 0.9618 GB, free: 3.363 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3524, allocations: 314.8 kB / 0.9621 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.3524, allocations: 4 kB / 0.9621 GB, free: 3.043 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.514e-05/0.3525, allocations: 22.56 kB / 0.9621 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.749e-05/0.3525, allocations: 30.52 kB / 0.9621 GB, free: 2.973 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3525, allocations: 4 kB / 0.9621 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.879e-05/0.3526, allocations: 61.61 kB / 0.9622 GB, free: 2.902 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3526, allocations: 7.938 kB / 0.9622 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3526, allocations: 0 / 0.9622 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3527, allocations: 0 / 0.9622 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.322e-05/0.3527, allocations: 8 kB / 0.9622 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3527, allocations: 3.938 kB / 0.9622 GB, free: 2.883 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.3527, allocations: 8 kB / 0.9622 GB, free: 2.875 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.3527, allocations: 0 / 0.9622 GB, free: 2.875 MB / 0.7012 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.538e-05/0.3528, allocations: 114.4 kB / 0.9623 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.3529, allocations: 3.984 kB / 0.9623 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/0.3529, allocations: 11.38 kB / 0.9624 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3529, allocations: 0 / 0.9624 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3529, allocations: 7.938 kB / 0.9624 GB, free: 2.73 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3529, allocations: 0 / 0.9624 GB, free: 2.73 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.3532, allocations: 330.6 kB / 0.9627 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3532, allocations: 0 / 0.9627 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.3532, allocations: 7.938 kB / 0.9627 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.3532, allocations: 3.984 kB / 0.9627 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.3532, allocations: 4 kB / 0.9627 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.3532, allocations: 3.938 kB / 0.9627 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3532, allocations: 4.062 kB / 0.9627 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.27e-05/0.3533, allocations: 70 kB / 0.9628 GB, free: 2.238 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.3533, allocations: 4.219 kB / 0.9628 GB, free: 2.234 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.3534, allocations: 7.984 kB / 0.9628 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/0.3534, allocations: 0 / 0.9628 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.3535, allocations: 7.984 kB / 0.9628 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.3535, allocations: 0 / 0.9628 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.769e-05/0.3535, allocations: 87.27 kB / 0.9629 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3535, allocations: 0 / 0.9629 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001927/0.3537, allocations: 8 kB / 0.9629 GB, free: 2.125 MB / 0.7012 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.0004267/0.3541, allocations: 0.6093 MB / 0.9635 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 8.907e-05/0.3542, allocations: 15.94 kB / 0.9635 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3542, allocations: 0 / 0.9635 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-05/0.3542, allocations: 4 kB / 0.9635 GB, free: 1.465 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.3545, allocations: 12 kB / 0.9635 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/0.3549, allocations: 161.6 kB / 0.9637 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.272e-05/0.3549, allocations: 67.28 kB / 0.9637 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 4.836e-05/0.355, allocations: 4 kB / 0.9637 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.355, allocations: 7.438 kB / 0.9637 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of SimCode: time 3.71e-07/0.355, allocations: 3.938 kB / 0.9637 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.383, allocations: 2.004 MB / 0.9657 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.89, allocations: 6.812 kB / 0.9657 GB, free: 15.28 MB / 0.7169 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.001761155202985] Failed to read output from testmodel.py, exit status != 0: 10.990256797987968 11.006337124 10.653228751 Calling exit ...