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.001534/0.001534, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001673/0.001673, allocations: 219.2 kB / 23 MB, free: 4.914 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.002611/0.002611, allocations: 292.2 kB / 313.5 MB, free: 2.598 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.184/1.184, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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: translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") [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.002893/0.002893, allocations: 105.8 kB / 0.7407 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1781, allocations: 95.37 MB / 0.8338 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1668/0.3449, allocations: 130.4 MB / 0.9611 GB, free: 4.973 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0001523/0.345, allocations: 51.86 kB / 0.9612 GB, free: 4.922 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.3451, allocations: 0 / 0.9612 GB, free: 4.922 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.3452, allocations: 7.938 kB / 0.9612 GB, free: 4.914 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 7.602e-05/0.3453, allocations: 7.922 kB / 0.9612 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007972/0.3461, allocations: 211.2 kB / 0.9614 GB, free: 4.699 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 9.255e-05/0.3461, allocations: 35.91 kB / 0.9614 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.3462, allocations: 4 kB / 0.9615 GB, free: 4.66 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.3462, allocations: 11.94 kB / 0.9615 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 7.605e-05/0.3463, allocations: 23.91 kB / 0.9615 GB, free: 4.625 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.3463, allocations: 0 / 0.9615 GB, free: 4.625 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.3467, allocations: 159.5 kB / 0.9616 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.187e-05/0.3467, allocations: 11.92 kB / 0.9617 GB, free: 4.457 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.3468, allocations: 11.94 kB / 0.9617 GB, free: 4.445 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.347, allocations: 103.7 kB / 0.9618 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.347, allocations: 0 / 0.9618 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.212e-06/0.347, allocations: 4 kB / 0.9618 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.347, allocations: 0 / 0.9618 GB, free: 4.34 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.0003937/0.3474, allocations: 266.2 kB / 0.962 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3475, allocations: 13.33 kB / 0.962 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003064/0.3478, allocations: 24.92 kB / 0.9621 GB, free: 4.016 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.3479, allocations: 110.5 kB / 0.9622 GB, free: 3.883 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.15e-05/0.3479, allocations: 59.34 kB / 0.9622 GB, free: 3.812 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.348, allocations: 3.938 kB / 0.9622 GB, free: 3.809 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.3481, allocations: 71.39 kB / 0.9623 GB, free: 3.727 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3481, allocations: 4 kB / 0.9623 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3481, allocations: 0 / 0.9623 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.3481, allocations: 4 kB / 0.9623 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.508e-05/0.3482, allocations: 19.98 kB / 0.9623 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.3485, allocations: 208.5 kB / 0.9625 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 6.755e-05/0.3486, allocations: 22.52 kB / 0.9625 GB, free: 3.434 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.3486, allocations: 12.92 kB / 0.9625 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.3488, allocations: 23.98 kB / 0.9626 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3488, allocations: 30.56 kB / 0.9626 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3488, allocations: 0 / 0.9626 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of matching and sorting (n=2): time 0.0002332/0.349, allocations: 53.62 kB / 0.9627 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.3491, allocations: 51.41 kB / 0.9627 GB, free: 3.234 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.107e-05/0.3492, allocations: 105.8 kB / 0.9628 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3492, allocations: 25.7 kB / 0.9628 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.3492, allocations: 88.09 kB / 0.9629 GB, free: 3 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.3492, allocations: 11.89 kB / 0.9629 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.3493, allocations: 17.84 kB / 0.9629 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3494, allocations: 318.8 kB / 0.9632 GB, free: 2.645 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.3494, allocations: 7.984 kB / 0.9633 GB, free: 2.637 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.191e-05/0.3495, allocations: 22.58 kB / 0.9633 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.512e-05/0.3495, allocations: 34.5 kB / 0.9633 GB, free: 2.562 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3495, allocations: 0 / 0.9633 GB, free: 2.562 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.733e-05/0.3496, allocations: 53.59 kB / 0.9634 GB, free: 2.504 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.3496, allocations: 8.094 kB / 0.9634 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.3496, allocations: 4 kB / 0.9634 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3496, allocations: 3.984 kB / 0.9634 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.429e-05/0.3497, allocations: 7.938 kB / 0.9634 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.3497, allocations: 4 kB / 0.9634 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.3497, allocations: 7.938 kB / 0.9634 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.3497, allocations: 0 / 0.9634 GB, free: 2.469 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.379e-05/0.3498, allocations: 110.5 kB / 0.9635 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.3498, allocations: 0 / 0.9635 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.3499, allocations: 11.31 kB / 0.9635 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3499, allocations: 4.281 kB / 0.9635 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3499, allocations: 4 kB / 0.9635 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3499, allocations: 7.922 kB / 0.9635 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.3502, allocations: 319.2 kB / 0.9638 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3502, allocations: 0 / 0.9638 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.611e-05/0.3502, allocations: 4 kB / 0.9638 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3502, allocations: 0 / 0.9638 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.3502, allocations: 0 / 0.9638 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3502, allocations: 3.938 kB / 0.9638 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3502, allocations: 3.938 kB / 0.9638 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.697e-05/0.3503, allocations: 78.05 kB / 0.9639 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 8.856e-06/0.3503, allocations: 4 kB / 0.9639 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.3503, allocations: 0 / 0.9639 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.892e-05/0.3504, allocations: 7.938 kB / 0.9639 GB, free: 1.848 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.3504, allocations: 3.984 kB / 0.9639 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.3504, allocations: 0 / 0.9639 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.639e-05/0.3505, allocations: 79.28 kB / 0.964 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of sort global known variables: time 6e-08/0.3505, allocations: 0 / 0.964 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001938/0.3507, allocations: 12 kB / 0.964 GB, free: 1.754 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.0001234/0.3508, allocations: 107.2 kB / 0.9641 GB, free: 1.641 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 9.256e-05/0.3509, allocations: 19.94 kB / 0.9641 GB, free: 1.621 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3509, allocations: 0 / 0.9641 GB, free: 1.621 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-05/0.3509, allocations: 7.938 kB / 0.9641 GB, free: 1.613 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.3511, allocations: 2.344 kB / 0.9641 GB, free: 1.613 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.3515, allocations: 161.6 kB / 0.9643 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.121e-05/0.3515, allocations: 59.36 kB / 0.9644 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.3515, allocations: 7.438 kB / 0.9644 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of SimCode: time 3.81e-07/0.3515, allocations: 3.938 kB / 0.9644 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of Templates: time 0.002389/0.3539, allocations: 0.6322 MB / 0.965 GB, free: 0.6992 MB / 0.7012 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.169908894225955] Failed to read output from testmodel.py, exit status != 0: 0.36185986595228314 0.37711866800000005 0.027148170000000003 Calling exit ...