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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 109.8 kB / 19.58 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 193.2 kB / 22.85 MB, free: 5.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 225.6 MB / 251.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002458/0.002458, allocations: 299 kB / 307 MB, free: 8.352 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.18/1.18, allocations: 180.8 MB / 0.5304 GB, free: 14.48 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002727/0.002727, allocations: 100.8 kB / 0.7311 GB, free: 38.94 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.168, allocations: 94.2 MB / 0.8231 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1745/0.3425, allocations: 146.7 MB / 0.9663 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001426/0.3426, allocations: 43.88 kB / 0.9664 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.3427, allocations: 3.938 kB / 0.9664 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.3428, allocations: 15.92 kB / 0.9664 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.3429, allocations: 7.984 kB / 0.9664 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.3434, allocations: 111.6 kB / 0.9665 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.151e-05/0.3434, allocations: 35.86 kB / 0.9665 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.3435, allocations: 4 kB / 0.9665 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.252e-05/0.3435, allocations: 19.92 kB / 0.9665 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.098e-05/0.3436, allocations: 15.98 kB / 0.9666 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.3436, allocations: 0 / 0.9666 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.3439, allocations: 75.72 kB / 0.9666 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.3439, allocations: 4 kB / 0.9666 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.3439, allocations: 19.92 kB / 0.9667 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.3441, allocations: 71.78 kB / 0.9667 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3441, allocations: 0 / 0.9667 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3441, allocations: 0 / 0.9667 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3441, allocations: 0 / 0.9667 GB, free: 14.3 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.0003837/0.3445, allocations: 262.2 kB / 0.967 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3445, allocations: 16.62 kB / 0.967 GB, free: 14 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.3448, allocations: 16.92 kB / 0.967 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.3449, allocations: 110.5 kB / 0.9671 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-05/0.3449, allocations: 29.64 kB / 0.9671 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.3449, allocations: 7.984 kB / 0.9671 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.3451, allocations: 41.69 kB / 0.9672 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3451, allocations: 0 / 0.9672 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3451, allocations: 8 kB / 0.9672 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.3451, allocations: 0 / 0.9672 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.124e-05/0.3452, allocations: 19.98 kB / 0.9672 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.3455, allocations: 231.9 kB / 0.9674 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.49e-05/0.3456, allocations: 18.52 kB / 0.9674 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.624e-05/0.3456, allocations: 8.859 kB / 0.9675 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.3456, allocations: 4.062 kB / 0.9675 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.3457, allocations: 34.56 kB / 0.9675 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3457, allocations: 0 / 0.9675 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000131/0.3458, allocations: 33.69 kB / 0.9675 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.3458, allocations: 59.28 kB / 0.9676 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.757e-05/0.3459, allocations: 109.8 kB / 0.9677 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.346, allocations: 29.83 kB / 0.9677 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.346, allocations: 96.05 kB / 0.9678 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/0.346, allocations: 7.938 kB / 0.9678 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.346, allocations: 13.72 kB / 0.9678 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3462, allocations: 314.8 kB / 0.9681 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.3462, allocations: 7.984 kB / 0.9681 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.959e-05/0.3462, allocations: 22.52 kB / 0.9682 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/0.3463, allocations: 38.5 kB / 0.9682 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3463, allocations: 0 / 0.9682 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.513e-05/0.3464, allocations: 49.64 kB / 0.9682 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3464, allocations: 8 kB / 0.9683 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3464, allocations: 0 / 0.9683 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3464, allocations: 3.984 kB / 0.9683 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/0.3464, allocations: 12.09 kB / 0.9683 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3465, allocations: 3.938 kB / 0.9683 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.09e-05/0.3465, allocations: 7.953 kB / 0.9683 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.3465, allocations: 4 kB / 0.9683 GB, free: 12.49 MB / 0.7169 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.5e-05/0.3466, allocations: 106.5 kB / 0.9684 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.3466, allocations: 4 kB / 0.9684 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.565e-05/0.3466, allocations: 3.156 kB / 0.9684 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3466, allocations: 0 / 0.9684 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3466, allocations: 3.938 kB / 0.9684 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3466, allocations: 7.984 kB / 0.9684 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.3469, allocations: 322.1 kB / 0.9687 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3469, allocations: 0 / 0.9687 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-05/0.3469, allocations: 4 kB / 0.9687 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3469, allocations: 3.938 kB / 0.9687 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.3469, allocations: 0 / 0.9687 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3469, allocations: 0 / 0.9687 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3469, allocations: 0 / 0.9687 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.304e-05/0.347, allocations: 65.09 kB / 0.9688 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.347, allocations: 11.89 kB / 0.9688 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.347, allocations: 4 kB / 0.9688 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-05/0.3471, allocations: 0 / 0.9688 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.3471, allocations: 3.984 kB / 0.9688 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.3471, allocations: 7.938 kB / 0.9688 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.71e-05/0.3472, allocations: 79.28 kB / 0.9689 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.3472, allocations: 4.031 kB / 0.9689 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000187/0.3474, allocations: 4 kB / 0.9689 GB, free: 11.79 MB / 0.7169 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 9.842e-05/0.3475, allocations: 103.3 kB / 0.969 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.068e-05/0.3475, allocations: 15.92 kB / 0.969 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3475, allocations: 0 / 0.969 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.619e-06/0.3475, allocations: 0 / 0.969 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.3478, allocations: 8.312 kB / 0.969 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.348, allocations: 126.9 kB / 0.9691 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.3483, allocations: 0.6806 MB / 0.9698 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.31e-05/0.3483, allocations: 4 kB / 0.9698 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.3484, allocations: 15.38 kB / 0.9698 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.3484, allocations: 0 / 0.9698 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of Templates: time 0.002869/0.3512, allocations: 0.5327 MB / 0.9703 GB, free: 10.29 MB / 0.7169 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.840195692995621] Failed to read output from testmodel.py, exit status != 0: 0.3584480350036756 0.37316885199999994 0.026158114000000003 Calling exit ...