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.001559/0.001559, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001598/0.001598, allocations: 217.5 kB / 22.26 MB, free: 5.078 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 8.012 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.003799/0.003799, allocations: 291 kB / 312.7 MB, free: 2.816 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.435/1.435, allocations: 180.6 MB / 0.5369 GB, free: 13.07 MB / 382.1 MB " [Timeout remaining time 178] 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.003007/0.003007, allocations: 101 kB / 0.7396 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2181, allocations: 95.39 MB / 0.8327 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2078/0.4258, allocations: 151.6 MB / 0.9808 GB, free: 496 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002249/0.4261, allocations: 55.72 kB / 0.9808 GB, free: 444 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.062e-05/0.4261, allocations: 0 / 0.9808 GB, free: 444 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.4263, allocations: 11.88 kB / 0.9808 GB, free: 432 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.4264, allocations: 11.92 kB / 0.9809 GB, free: 420 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.4275, allocations: 221.1 kB / 0.9811 GB, free: 200 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.4276, allocations: 35.91 kB / 0.9811 GB, free: 164 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.828e-05/0.4277, allocations: 0 / 0.9811 GB, free: 164 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.57e-05/0.4277, allocations: 27.84 kB / 0.9811 GB, free: 136 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.858e-05/0.4278, allocations: 4 kB / 0.9811 GB, free: 132 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.4278, allocations: 0 / 0.9811 GB, free: 132 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5465/0.9744, allocations: 219.3 kB / 0.9813 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.548e-05/0.9744, allocations: 7.766 kB / 0.9813 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.9745, allocations: 9.734 kB / 0.9814 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.9748, allocations: 120.2 kB / 0.9815 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.9748, allocations: 1.516 kB / 0.9815 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9748, allocations: 0 / 0.9815 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.9749, allocations: 0 / 0.9815 GB, free: 3.781 MB / 0.7169 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.000576/0.9754, allocations: 264.1 kB / 0.9817 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.9755, allocations: 11.19 kB / 0.9817 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.181e-05/0.9755, allocations: 42.7 kB / 0.9818 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004123/0.9759, allocations: 26.72 kB / 0.9818 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.9761, allocations: 105.4 kB / 0.9819 GB, free: 19.35 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.9762, allocations: 60.97 kB / 0.982 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.9762, allocations: 0.75 kB / 0.982 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.9764, allocations: 52.86 kB / 0.982 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.9764, allocations: 3.75 kB / 0.982 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.9764, allocations: 1.031 kB / 0.982 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.9764, allocations: 3 kB / 0.982 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.725e-05/0.9765, allocations: 19.47 kB / 0.982 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.977, allocations: 235.5 kB / 0.9823 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.881e-05/0.977, allocations: 23.98 kB / 0.9823 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.821e-05/0.9771, allocations: 13.89 kB / 0.9823 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.9772, allocations: 16.77 kB / 0.9823 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.9773, allocations: 33.16 kB / 0.9823 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.9773, allocations: 0 / 0.9823 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003316/0.9776, allocations: 52.34 kB / 0.9824 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.9776, allocations: 51.94 kB / 0.9824 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.9778, allocations: 103.4 kB / 0.9825 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.9778, allocations: 26.33 kB / 0.9826 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.827e-05/0.9779, allocations: 90.12 kB / 0.9827 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.9779, allocations: 4.984 kB / 0.9827 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.9779, allocations: 19.64 kB / 0.9827 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.9781, allocations: 316.7 kB / 0.983 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.03e-05/0.9781, allocations: 4.562 kB / 0.983 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.356e-05/0.9781, allocations: 28.98 kB / 0.983 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.535e-05/0.9782, allocations: 32.09 kB / 0.983 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.9782, allocations: 1.688 kB / 0.983 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001029/0.9783, allocations: 60.23 kB / 0.9831 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.9783, allocations: 5.594 kB / 0.9831 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.9783, allocations: 1.75 kB / 0.9831 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.9783, allocations: 1.609 kB / 0.9831 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.033e-05/0.9784, allocations: 9.875 kB / 0.9831 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.9784, allocations: 1.969 kB / 0.9831 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.204e-05/0.9785, allocations: 5.547 kB / 0.9831 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.9785, allocations: 7.781 kB / 0.9831 GB, free: 18.22 MB / 0.7325 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.0001004/0.9786, allocations: 110.7 kB / 0.9832 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.9786, allocations: 2.281 kB / 0.9832 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.9786, allocations: 8.734 kB / 0.9832 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.9786, allocations: 0.75 kB / 0.9832 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.9786, allocations: 0.9688 kB / 0.9832 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.9786, allocations: 5.469 kB / 0.9833 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.979, allocations: 338.9 kB / 0.9836 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.979, allocations: 3.719 kB / 0.9836 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.832e-05/0.9791, allocations: 3.891 kB / 0.9836 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.9791, allocations: 2.719 kB / 0.9836 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.9791, allocations: 7.906 kB / 0.9836 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.9791, allocations: 4.281 kB / 0.9836 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9791, allocations: 1 kB / 0.9836 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.9792, allocations: 71.2 kB / 0.9837 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.9792, allocations: 3.438 kB / 0.9837 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.9792, allocations: 5.469 kB / 0.9837 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.838e-05/0.9793, allocations: 4.812 kB / 0.9837 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.9793, allocations: 2.938 kB / 0.9837 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.9793, allocations: 3.781 kB / 0.9837 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.658e-05/0.9794, allocations: 88.02 kB / 0.9838 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.9794, allocations: 0 / 0.9838 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002347/0.9796, allocations: 6.312 kB / 0.9838 GB, free: 17.59 MB / 0.7325 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.0005493/0.9802, allocations: 0.6073 MB / 0.9844 GB, free: 17 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.9803, allocations: 20.55 kB / 0.9844 GB, free: 17 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.9803, allocations: 0 / 0.9844 GB, free: 17 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.62e-05/0.9803, allocations: 8.766 kB / 0.9844 GB, free: 17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.9806, allocations: 5.688 kB / 0.9844 GB, free: 17 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.981, allocations: 145.2 kB / 0.9845 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.9814, allocations: 0.68 MB / 0.9852 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.261e-05/0.9814, allocations: 12.83 kB / 0.9852 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.9814, allocations: 9.781 kB / 0.9852 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.9814, allocations: 0 / 0.9852 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/1.01, allocations: 1.585 MB / 0.9868 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.52, allocations: 6.219 kB / 0.9868 GB, free: 15.8 MB / 0.7325 GB " [Timeout remaining time 648] (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: 16.26270753499921] Failed to read output from testmodel.py, exit status != 0: 11.619925251998211 11.634222899 10.655772642 Calling exit ...