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.001354/0.001354, allocations: 88.83 kB / 19.44 MB, free: 352 kB / 13.93 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.001547/0.001547, allocations: 157.3 kB / 22.75 MB, free: 1.688 MB / 18.57 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.447/1.447, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.002752/0.002752, allocations: 233.3 kB / 259.8 MB, free: 12.86 MB / 250.7 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.083/1.083, allocations: 138.4 MB / 454.7 MB, free: 1.5 MB / 362.7 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.443e-06/1.443e-06, allocations: 0 / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.58e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3618/0.3618, allocations: 130 MB / 0.6813 GB, free: 21.56 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001243/0.3619, allocations: 67.14 kB / 0.6813 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.362, allocations: 0 / 0.6813 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.3621, allocations: 0 / 0.6813 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.611e-05/0.3622, allocations: 13.36 kB / 0.6813 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.3626, allocations: 107.5 kB / 0.6814 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.857e-05/0.3627, allocations: 42.38 kB / 0.6815 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.3627, allocations: 0 / 0.6815 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.882e-05/0.3628, allocations: 26.47 kB / 0.6815 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.716e-05/0.3629, allocations: 11.7 kB / 0.6815 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.3629, allocations: 0 / 0.6815 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.3631, allocations: 70.61 kB / 0.6816 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.3632, allocations: 9.047 kB / 0.6816 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.3632, allocations: 9.438 kB / 0.6816 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.3633, allocations: 74.53 kB / 0.6817 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3633, allocations: 0 / 0.6817 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3633, allocations: 0 / 0.6817 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3633, allocations: 0 / 0.6817 GB, free: 21.3 MB / 0.5105 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.0003282/0.3637, allocations: 270.4 kB / 0.6819 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3637, allocations: 11.12 kB / 0.6819 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002992/0.364, allocations: 30.25 kB / 0.682 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.987e-05/0.3641, allocations: 108.7 kB / 0.6821 GB, free: 20.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.808e-05/0.3641, allocations: 54.03 kB / 0.6821 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.3642, allocations: 3.312 kB / 0.6821 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.3643, allocations: 71.52 kB / 0.6822 GB, free: 20.74 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3643, allocations: 2.312 kB / 0.6822 GB, free: 20.74 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3643, allocations: 4 kB / 0.6822 GB, free: 20.74 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.3643, allocations: 10.56 kB / 0.6822 GB, free: 20.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.461e-05/0.3644, allocations: 16.47 kB / 0.6822 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.3647, allocations: 210.8 kB / 0.6824 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.878e-05/0.3648, allocations: 17.48 kB / 0.6824 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.3648, allocations: 4.859 kB / 0.6825 GB, free: 20.47 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.3648, allocations: 0 / 0.6825 GB, free: 20.47 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.3648, allocations: 33.16 kB / 0.6825 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.3648, allocations: 0 / 0.6825 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001391/0.3649, allocations: 42.64 kB / 0.6825 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.365, allocations: 51.41 kB / 0.6826 GB, free: 20.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.63e-05/0.365, allocations: 113.9 kB / 0.6827 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.365, allocations: 28.42 kB / 0.6827 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.3651, allocations: 88.03 kB / 0.6828 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.721e-06/0.3651, allocations: 6.516 kB / 0.6828 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.3651, allocations: 20.64 kB / 0.6828 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.726e-05/0.3651, allocations: 317.6 kB / 0.6831 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.3652, allocations: 2.188 kB / 0.6831 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/0.3652, allocations: 28.03 kB / 0.6831 GB, free: 19.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.3652, allocations: 34.61 kB / 0.6832 GB, free: 19.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3652, allocations: 0 / 0.6832 GB, free: 19.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.27e-05/0.3653, allocations: 56.5 kB / 0.6832 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3653, allocations: 5.344 kB / 0.6832 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3653, allocations: 0 / 0.6832 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3653, allocations: 0 / 0.6832 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.85e-05/0.3654, allocations: 8.094 kB / 0.6832 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3654, allocations: 9.047 kB / 0.6833 GB, free: 19.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.3654, allocations: 0 / 0.6833 GB, free: 19.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.3654, allocations: 2.781 kB / 0.6833 GB, free: 19.63 MB / 0.5105 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 4.823e-05/0.3655, allocations: 120 kB / 0.6834 GB, free: 19.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.3655, allocations: 6.891 kB / 0.6834 GB, free: 19.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.717e-05/0.3655, allocations: 3.156 kB / 0.6834 GB, free: 19.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3655, allocations: 0 / 0.6834 GB, free: 19.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3655, allocations: 2 kB / 0.6834 GB, free: 19.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.3655, allocations: 0 / 0.6834 GB, free: 19.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.3657, allocations: 295.8 kB / 0.6837 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3657, allocations: 4.031 kB / 0.6837 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.487e-05/0.3657, allocations: 6.938 kB / 0.6837 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3657, allocations: 0 / 0.6837 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.3657, allocations: 0 / 0.6837 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3657, allocations: 3.125 kB / 0.6837 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3657, allocations: 0 / 0.6837 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.724e-05/0.3658, allocations: 65.06 kB / 0.6837 GB, free: 19.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-06/0.3658, allocations: 2.406 kB / 0.6837 GB, free: 19.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3658, allocations: 0 / 0.6837 GB, free: 19.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.3659, allocations: 6.766 kB / 0.6838 GB, free: 19.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.3659, allocations: 10.16 kB / 0.6838 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-06/0.3659, allocations: 0 / 0.6838 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.632e-05/0.3659, allocations: 89.16 kB / 0.6838 GB, free: 19.01 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3659, allocations: 0 / 0.6838 GB, free: 19.01 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001961/0.3661, allocations: 5.188 kB / 0.6839 GB, free: 19.01 MB / 0.5105 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 7.283e-05/0.3662, allocations: 97.53 kB / 0.6839 GB, free: 18.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.828e-05/0.3662, allocations: 16.11 kB / 0.684 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3663, allocations: 4 kB / 0.684 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-06/0.3663, allocations: 6.5 kB / 0.684 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.3665, allocations: 6.656 kB / 0.684 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.3667, allocations: 107 kB / 0.6841 GB, free: 18.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.022e-05/0.3668, allocations: 60.75 kB / 0.6841 GB, free: 18.72 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.487e-05/0.3668, allocations: 10.97 kB / 0.6841 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.3669, allocations: 15.44 kB / 0.6842 GB, free: 18.7 MB / 0.5105 GB Notification: Performance of SimCode: time 5.41e-07/0.3669, allocations: 0 / 0.6842 GB, free: 18.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.00285/0.3697, allocations: 0.5488 MB / 0.6847 GB, free: 18.46 MB / 0.5105 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: 5.7464210169855505]