Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001866/0.001866, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002124/0.002124, allocations: 165.5 kB / 22.46 MB, free: 5.375 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.554/1.554, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.002572/0.002572, allocations: 249.8 kB / 259.4 MB, free: 464 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.075/1.075, allocations: 138.4 MB / 454.3 MB, free: 2.039 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.6468 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.741e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4551/0.4551, allocations: 130 MB / 0.7737 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001564/0.4553, allocations: 49.64 kB / 0.7738 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.4553, allocations: 3.938 kB / 0.7738 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.4554, allocations: 3.984 kB / 0.7738 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.427e-05/0.4555, allocations: 18.59 kB / 0.7738 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.4561, allocations: 107.6 kB / 0.7739 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.4562, allocations: 35.84 kB / 0.7739 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.4563, allocations: 4 kB / 0.7739 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.31e-05/0.4563, allocations: 23.91 kB / 0.774 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.879e-05/0.4564, allocations: 15.92 kB / 0.774 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.4564, allocations: 0 / 0.774 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.4567, allocations: 67.73 kB / 0.7741 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.286e-05/0.4567, allocations: 15.98 kB / 0.7741 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.4568, allocations: 4 kB / 0.7741 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.457, allocations: 79.77 kB / 0.7741 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.457, allocations: 0 / 0.7741 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.457, allocations: 0 / 0.7741 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.457, allocations: 0 / 0.7741 GB, free: 14.09 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.0004505/0.4574, allocations: 262.3 kB / 0.7744 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.4575, allocations: 8.75 kB / 0.7744 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/0.4577, allocations: 21.44 kB / 0.7744 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.4578, allocations: 109.7 kB / 0.7745 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.001e-05/0.4579, allocations: 55.97 kB / 0.7746 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.4579, allocations: 384 / 0.7746 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.4581, allocations: 79.27 kB / 0.7747 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4581, allocations: 0 / 0.7747 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4581, allocations: 0 / 0.7747 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.4581, allocations: 4 kB / 0.7747 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.74e-05/0.4582, allocations: 19.97 kB / 0.7747 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.4586, allocations: 212.5 kB / 0.7749 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.518e-05/0.4587, allocations: 18.58 kB / 0.7749 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.4587, allocations: 14.05 kB / 0.7749 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.178e-06/0.4587, allocations: 0 / 0.7749 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.4587, allocations: 34.62 kB / 0.7749 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.4587, allocations: 0 / 0.7749 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001537/0.4589, allocations: 33.7 kB / 0.775 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.4589, allocations: 51.41 kB / 0.775 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.459, allocations: 109.8 kB / 0.7751 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.459, allocations: 25.83 kB / 0.7752 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.4591, allocations: 96.03 kB / 0.7753 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-06/0.4591, allocations: 3.953 kB / 0.7753 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.4592, allocations: 21.7 kB / 0.7753 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4593, allocations: 314.8 kB / 0.7756 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.4593, allocations: 7.938 kB / 0.7756 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.686e-05/0.4594, allocations: 30.56 kB / 0.7756 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.652e-05/0.4594, allocations: 30.42 kB / 0.7756 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4594, allocations: 0 / 0.7756 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.862e-05/0.4595, allocations: 57.62 kB / 0.7757 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.4595, allocations: 4 kB / 0.7757 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4595, allocations: 0 / 0.7757 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4595, allocations: 7.938 kB / 0.7757 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.677e-05/0.4596, allocations: 4 kB / 0.7757 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.4596, allocations: 0 / 0.7757 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.006e-05/0.4596, allocations: 4.625 kB / 0.7757 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.4596, allocations: 0 / 0.7757 GB, free: 12.28 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.241e-05/0.4597, allocations: 121.8 kB / 0.7758 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.4598, allocations: 4.094 kB / 0.7758 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.4598, allocations: 7.156 kB / 0.7758 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.4598, allocations: 0 / 0.7758 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4598, allocations: 0 / 0.7758 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.4598, allocations: 0 / 0.7758 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.46, allocations: 304.8 kB / 0.7761 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.46, allocations: 0 / 0.7761 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.709e-05/0.4601, allocations: 4 kB / 0.7761 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.4601, allocations: 0 / 0.7761 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.4601, allocations: 0 / 0.7761 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4601, allocations: 7.969 kB / 0.7761 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4601, allocations: 0 / 0.7761 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.675e-05/0.4601, allocations: 65.06 kB / 0.7762 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-06/0.4601, allocations: 0 / 0.7762 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.4602, allocations: 4 kB / 0.7762 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.198e-05/0.4602, allocations: 0 / 0.7762 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.4603, allocations: 3.984 kB / 0.7762 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/0.4603, allocations: 0 / 0.7762 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.643e-05/0.4603, allocations: 95.16 kB / 0.7763 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.4603, allocations: 0 / 0.7763 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001901/0.4605, allocations: 4 kB / 0.7763 GB, free: 11.6 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001253/0.4606, allocations: 105.2 kB / 0.7764 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.927e-05/0.4607, allocations: 11.98 kB / 0.7764 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4607, allocations: 0 / 0.7764 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-06/0.4607, allocations: 3.938 kB / 0.7764 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.461, allocations: 8.625 kB / 0.7764 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.4612, allocations: 100.2 kB / 0.7765 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.941e-05/0.4613, allocations: 67.34 kB / 0.7766 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.789e-05/0.4613, allocations: 8.078 kB / 0.7766 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.4614, allocations: 11.69 kB / 0.7766 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.4614, allocations: 0 / 0.7766 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of Templates: time 0.003248/0.4646, allocations: 0.542 MB / 0.7771 GB, free: 10.77 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.3461853712797165] Failed to read output from testmodel.py, exit status != 0: 0.4730273634195328 0.48783299 0.02775027 Calling exit ...