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.00131/0.00131, allocations: 85.03 kB / 19.18 MB, free: 2.523 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.001523/0.001523, allocations: 166.2 kB / 22.46 MB, free: 5.359 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.468/1.468, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.002513/0.002513, allocations: 241.6 kB / 259.4 MB, free: 472 kB / 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.137/1.137, allocations: 138.4 MB / 454.3 MB, free: 1.992 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: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 0.6468 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.041e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4338/0.4338, allocations: 130.4 MB / 0.7741 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001642/0.434, allocations: 45.92 kB / 0.7741 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.434, allocations: 0 / 0.7741 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.4341, allocations: 0 / 0.7741 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.057e-05/0.4342, allocations: 21.44 kB / 0.7742 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008734/0.4351, allocations: 221.3 kB / 0.7744 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.333e-05/0.4352, allocations: 31.86 kB / 0.7744 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.4352, allocations: 3.984 kB / 0.7744 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.47e-05/0.4353, allocations: 19.98 kB / 0.7744 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.4354, allocations: 15.92 kB / 0.7744 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.4354, allocations: 3.984 kB / 0.7744 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.4358, allocations: 155.4 kB / 0.7746 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.4358, allocations: 11.98 kB / 0.7746 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.4359, allocations: 12 kB / 0.7746 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.4361, allocations: 115.7 kB / 0.7747 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4361, allocations: 0 / 0.7747 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.71e-07/0.4361, allocations: 0 / 0.7747 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.4362, allocations: 0 / 0.7747 GB, free: 13.47 MB / 0.6075 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.0005211/0.4367, allocations: 266.3 kB / 0.775 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.4367, allocations: 13.34 kB / 0.775 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003335/0.4371, allocations: 21.42 kB / 0.775 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.4372, allocations: 113.6 kB / 0.7751 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/0.4373, allocations: 59.91 kB / 0.7752 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.4373, allocations: 4.375 kB / 0.7752 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.4375, allocations: 83.28 kB / 0.7753 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.4375, allocations: 4 kB / 0.7753 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.4375, allocations: 4 kB / 0.7753 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.4375, allocations: 0 / 0.7753 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.695e-05/0.4375, allocations: 19.98 kB / 0.7753 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.4379, allocations: 200.6 kB / 0.7755 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.798e-05/0.438, allocations: 30.52 kB / 0.7755 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.438, allocations: 8.859 kB / 0.7755 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.4382, allocations: 20.05 kB / 0.7755 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.4382, allocations: 30.56 kB / 0.7756 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4382, allocations: 0 / 0.7756 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002564/0.4385, allocations: 49.69 kB / 0.7756 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.4385, allocations: 51.41 kB / 0.7757 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.4386, allocations: 105.8 kB / 0.7758 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.4386, allocations: 33.83 kB / 0.7758 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/0.4387, allocations: 88.03 kB / 0.7759 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.066e-05/0.4387, allocations: 7.953 kB / 0.7759 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.4387, allocations: 21.66 kB / 0.7759 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4389, allocations: 318.8 kB / 0.7762 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.4389, allocations: 4 kB / 0.7762 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/0.4389, allocations: 22.58 kB / 0.7762 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.889e-05/0.439, allocations: 34.5 kB / 0.7763 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.439, allocations: 4 kB / 0.7763 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.577e-05/0.4391, allocations: 57.58 kB / 0.7763 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.4391, allocations: 8 kB / 0.7763 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4391, allocations: 0 / 0.7763 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.4391, allocations: 0 / 0.7763 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.4392, allocations: 8 kB / 0.7763 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4392, allocations: 0 / 0.7763 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.4392, allocations: 0 / 0.7763 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.4392, allocations: 4 kB / 0.7763 GB, free: 11.61 MB / 0.6075 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 9.98e-05/0.4393, allocations: 121.9 kB / 0.7765 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.4394, allocations: 0 / 0.7765 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.4394, allocations: 7.297 kB / 0.7765 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.4394, allocations: 0 / 0.7765 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4394, allocations: 0 / 0.7765 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4394, allocations: 4 kB / 0.7765 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.4397, allocations: 315.1 kB / 0.7768 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4397, allocations: 2.344 kB / 0.7768 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.67e-05/0.4397, allocations: 4 kB / 0.7768 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4397, allocations: 0 / 0.7768 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.4397, allocations: 4.75 kB / 0.7768 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4397, allocations: 4 kB / 0.7768 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.4397, allocations: 7.922 kB / 0.7768 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.264e-05/0.4398, allocations: 69.94 kB / 0.7769 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-06/0.4398, allocations: 0 / 0.7769 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.4399, allocations: 2.5 kB / 0.7769 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.4399, allocations: 8.266 kB / 0.7769 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.44, allocations: 0 / 0.7769 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.44, allocations: 7.938 kB / 0.7769 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.079e-05/0.44, allocations: 87.27 kB / 0.777 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.44, allocations: 4.031 kB / 0.777 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002093/0.4402, allocations: 4 kB / 0.777 GB, free: 10.89 MB / 0.6075 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.0001462/0.4404, allocations: 107.2 kB / 0.7771 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.877e-05/0.4405, allocations: 15.94 kB / 0.7771 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4405, allocations: 0 / 0.7771 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.345e-05/0.4405, allocations: 7.938 kB / 0.7771 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.4407, allocations: 13.39 kB / 0.7771 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.441, allocations: 111.8 kB / 0.7772 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.161e-05/0.4411, allocations: 59.3 kB / 0.7773 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.874e-05/0.4411, allocations: 7.984 kB / 0.7773 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.4412, allocations: 19.5 kB / 0.7773 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.4412, allocations: 0 / 0.7773 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of Templates: time 0.003408/0.4446, allocations: 0.601 MB / 0.7779 GB, free: 9.938 MB / 0.6075 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: 6.071297489106655] Failed to read output from testmodel.py, exit status != 0: 0.45482369884848595 0.468881124 0.029619135 Calling exit ...