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.001389/0.001389, allocations: 80.77 kB / 19.01 MB, free: 2.867 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.001461/0.001461, allocations: 157.5 kB / 22.26 MB, free: 5.133 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.412/1.412, allocations: 177.2 MB / 202.6 MB, free: 9.254 MB / 190.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.002502/0.002502, allocations: 234 kB / 259.2 MB, free: 0.5781 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.044/1.044, allocations: 138.5 MB / 454.2 MB, free: 2.074 MB / 366.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.003029/0.003029, allocations: 104.3 kB / 0.6466 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3889, allocations: 95.35 MB / 0.7397 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1585/0.5474, allocations: 130.3 MB / 0.867 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0001421/0.5475, allocations: 47.83 kB / 0.867 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.5476, allocations: 0 / 0.867 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.5477, allocations: 7.984 kB / 0.867 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 7.102e-05/0.5477, allocations: 11.92 kB / 0.867 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007813/0.5485, allocations: 215.2 kB / 0.8672 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 8.769e-05/0.5486, allocations: 31.86 kB / 0.8673 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.5487, allocations: 4 kB / 0.8673 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 5.337e-05/0.5487, allocations: 23.91 kB / 0.8673 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 6.743e-05/0.5488, allocations: 11.98 kB / 0.8673 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.5488, allocations: 4 kB / 0.8673 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003859/0.5492, allocations: 163.4 kB / 0.8675 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.5492, allocations: 8 kB / 0.8675 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.5492, allocations: 11.92 kB / 0.8675 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.5495, allocations: 108.9 kB / 0.8676 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5495, allocations: 3.938 kB / 0.8676 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5495, allocations: 0 / 0.8676 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.5495, allocations: 0 / 0.8676 GB, free: 11.74 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.0003939/0.5499, allocations: 262.3 kB / 0.8678 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.5499, allocations: 13.28 kB / 0.8679 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003158/0.5502, allocations: 32.91 kB / 0.8679 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.5504, allocations: 110.5 kB / 0.868 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.52e-05/0.5504, allocations: 63.33 kB / 0.8681 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-06/0.5504, allocations: 0 / 0.8681 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.5506, allocations: 75.38 kB / 0.8681 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.5506, allocations: 0 / 0.8681 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5506, allocations: 4 kB / 0.8681 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.5506, allocations: 0 / 0.8681 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.509e-05/0.5507, allocations: 23.92 kB / 0.8682 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.551, allocations: 208.5 kB / 0.8684 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 6.199e-05/0.5511, allocations: 26.61 kB / 0.8684 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.008e-05/0.5511, allocations: 8.859 kB / 0.8684 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.5512, allocations: 16.05 kB / 0.8684 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.5513, allocations: 30.56 kB / 0.8684 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5513, allocations: 0 / 0.8684 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of matching and sorting (n=2): time 0.0002379/0.5515, allocations: 57.72 kB / 0.8685 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.5515, allocations: 51.41 kB / 0.8685 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.846e-05/0.5516, allocations: 101.9 kB / 0.8686 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.5516, allocations: 25.7 kB / 0.8687 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.5517, allocations: 92.02 kB / 0.8687 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 9.167e-06/0.5517, allocations: 7.953 kB / 0.8688 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.5517, allocations: 13.72 kB / 0.8688 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5519, allocations: 322.8 kB / 0.8691 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.942e-05/0.5519, allocations: 7.984 kB / 0.8691 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.917e-05/0.5519, allocations: 18.58 kB / 0.8691 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.929e-05/0.552, allocations: 34.55 kB / 0.8691 GB, free: 9.969 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.552, allocations: 3.938 kB / 0.8691 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.865e-05/0.5521, allocations: 57.58 kB / 0.8692 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.5521, allocations: 9.875 kB / 0.8692 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5521, allocations: 0 / 0.8692 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.5521, allocations: 0 / 0.8692 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/0.5522, allocations: 11.98 kB / 0.8692 GB, free: 9.883 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.5522, allocations: 4.094 kB / 0.8692 GB, free: 9.879 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.654e-05/0.5522, allocations: 11.88 kB / 0.8692 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.5522, allocations: 7.984 kB / 0.8692 GB, free: 9.859 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 7.691e-05/0.5523, allocations: 105.8 kB / 0.8693 GB, free: 9.746 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.5523, allocations: 4 kB / 0.8693 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.5523, allocations: 7.312 kB / 0.8693 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5523, allocations: 0 / 0.8693 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5523, allocations: 0 / 0.8693 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.5523, allocations: 3.938 kB / 0.8694 GB, free: 9.73 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.5526, allocations: 323.1 kB / 0.8697 GB, free: 9.371 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5526, allocations: 0 / 0.8697 GB, free: 9.371 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.5527, allocations: 4 kB / 0.8697 GB, free: 9.367 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.5527, allocations: 0 / 0.8697 GB, free: 9.367 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.5527, allocations: 0 / 0.8697 GB, free: 9.367 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.5527, allocations: 7.938 kB / 0.8697 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5527, allocations: 0 / 0.8697 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.982e-05/0.5528, allocations: 77.92 kB / 0.8697 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.5528, allocations: 4 kB / 0.8697 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.5528, allocations: 0 / 0.8697 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.869e-05/0.5529, allocations: 12 kB / 0.8698 GB, free: 9.246 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.5529, allocations: 4.266 kB / 0.8698 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.5529, allocations: 4 kB / 0.8698 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.367e-05/0.553, allocations: 91.27 kB / 0.8699 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.553, allocations: 0 / 0.8699 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001927/0.5531, allocations: 4 kB / 0.8699 GB, free: 9.145 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.0001178/0.5533, allocations: 99.23 kB / 0.87 GB, free: 9.039 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 8.288e-05/0.5533, allocations: 27.98 kB / 0.87 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5533, allocations: 0 / 0.87 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-05/0.5534, allocations: 4 kB / 0.87 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.5536, allocations: 4 kB / 0.87 GB, free: 9.004 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.5539, allocations: 139.3 kB / 0.8701 GB, free: 8.836 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.352e-05/0.5539, allocations: 59.34 kB / 0.8702 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 4.813e-05/0.554, allocations: 8.25 kB / 0.8702 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.554, allocations: 12.5 kB / 0.8702 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of SimCode: time 2.9e-07/0.554, allocations: 0 / 0.8702 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of Templates: time 0.002905/0.5569, allocations: 0.5928 MB / 0.8708 GB, free: 8.16 MB / 0.7012 GB " [Timeout remaining time 659] 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: 5.991352804005146] Failed to read output from testmodel.py, exit status != 0: 0.5654389783740044 0.579948436 0.027420911000000003 Calling exit ...