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.0009754/0.0009754, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001022/0.001022, allocations: 177.3 kB / 23.5 MB, free: 1.055 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 0.9626/0.9626, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.00173/0.00173, allocations: 232.5 kB / 260.5 MB, free: 12.9 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 0.7988/0.7988, allocations: 138.4 MB / 455.4 MB, free: 1.531 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.623e-06/1.623e-06, allocations: 0 / 0.555 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.764e-05, allocations: 5.547 kB / 0.555 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3333/0.3333, allocations: 143.4 MB / 0.6951 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001079/0.3334, allocations: 46.67 kB / 0.6951 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.3335, allocations: 0 / 0.6951 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.3336, allocations: 11.94 kB / 0.6952 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.87e-05/0.3337, allocations: 11.91 kB / 0.6952 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.334, allocations: 109.8 kB / 0.6953 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.09e-05/0.3341, allocations: 39.84 kB / 0.6953 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.346e-05/0.3341, allocations: 0 / 0.6953 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.629e-05/0.3342, allocations: 15.98 kB / 0.6953 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.182e-05/0.3343, allocations: 15.97 kB / 0.6953 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.3343, allocations: 8 kB / 0.6953 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.3344, allocations: 71.67 kB / 0.6954 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.3345, allocations: 7.984 kB / 0.6954 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.3345, allocations: 15.92 kB / 0.6954 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.3346, allocations: 63.86 kB / 0.6955 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3346, allocations: 0 / 0.6955 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3346, allocations: 4 kB / 0.6955 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.3346, allocations: 0 / 0.6955 GB, free: 13.22 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.000275/0.3349, allocations: 370.3 kB / 0.6959 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.3349, allocations: 8.75 kB / 0.6959 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.3351, allocations: 33.5 kB / 0.6959 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.763e-05/0.3352, allocations: 112.6 kB / 0.696 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.3353, allocations: 52.78 kB / 0.6961 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.3353, allocations: 4.375 kB / 0.6961 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.3354, allocations: 84.02 kB / 0.6961 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.3354, allocations: 0 / 0.6961 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.3354, allocations: 4 kB / 0.6961 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.3354, allocations: 0 / 0.6961 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.978e-05/0.3354, allocations: 15.94 kB / 0.6962 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002491/0.3357, allocations: 259.7 kB / 0.6964 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 2.711e-05/0.3357, allocations: 31 kB / 0.6964 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.3357, allocations: 11.72 kB / 0.6964 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-06/0.3357, allocations: 0 / 0.6964 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.3358, allocations: 40.83 kB / 0.6965 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.3358, allocations: 0 / 0.6965 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001058/0.3359, allocations: 37.77 kB / 0.6965 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.778e-05/0.3359, allocations: 55.41 kB / 0.6966 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.148e-05/0.3359, allocations: 169.9 kB / 0.6967 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.3359, allocations: 25.7 kB / 0.6968 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.336, allocations: 138.8 kB / 0.6969 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.397e-06/0.336, allocations: 7.953 kB / 0.6969 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.336, allocations: 19.38 kB / 0.6969 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.853e-05/0.336, allocations: 0.4922 MB / 0.6974 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.336, allocations: 4 kB / 0.6974 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.3361, allocations: 27.06 kB / 0.6974 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.914e-05/0.3361, allocations: 43 kB / 0.6975 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3361, allocations: 0 / 0.6975 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.829e-05/0.3361, allocations: 53.62 kB / 0.6975 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.3362, allocations: 4 kB / 0.6975 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3362, allocations: 96 / 0.6975 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3362, allocations: 7.984 kB / 0.6975 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.487e-05/0.3362, allocations: 7.984 kB / 0.6975 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3362, allocations: 0 / 0.6975 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.024e-05/0.3362, allocations: 8.094 kB / 0.6975 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.3362, allocations: 0 / 0.6975 GB, free: 10.89 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 3.839e-05/0.3363, allocations: 160.5 kB / 0.6977 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.3363, allocations: 11.89 kB / 0.6977 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.889e-05/0.3363, allocations: 3.156 kB / 0.6977 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.3363, allocations: 0 / 0.6977 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.3363, allocations: 4 kB / 0.6977 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3363, allocations: 0 / 0.6977 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.3364, allocations: 396.3 kB / 0.6981 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.3364, allocations: 0 / 0.6981 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-06/0.3364, allocations: 7.969 kB / 0.6981 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.3364, allocations: 0 / 0.6981 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.3364, allocations: 7.984 kB / 0.6981 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3364, allocations: 2.688 kB / 0.6981 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3364, allocations: 0 / 0.6981 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.469e-05/0.3365, allocations: 76.33 kB / 0.6982 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-06/0.3365, allocations: 0 / 0.6982 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.3365, allocations: 0 / 0.6982 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.194e-05/0.3365, allocations: 7.984 kB / 0.6982 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.3365, allocations: 0 / 0.6982 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.82e-07/0.3365, allocations: 0 / 0.6982 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.817e-05/0.3366, allocations: 131.2 kB / 0.6983 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3366, allocations: 0 / 0.6983 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000123/0.3367, allocations: 12 kB / 0.6983 GB, free: 10.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 6.769e-05/0.3368, allocations: 99.86 kB / 0.6984 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.64e-05/0.3368, allocations: 19.62 kB / 0.6984 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.3368, allocations: 0 / 0.6984 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.01e-06/0.3368, allocations: 11.69 kB / 0.6985 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.337, allocations: 16.23 kB / 0.6985 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.3373, allocations: 117 kB / 0.6986 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.023e-05/0.3374, allocations: 53.44 kB / 0.6986 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.316e-05/0.3374, allocations: 7.984 kB / 0.6986 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.9e-05/0.3374, allocations: 12.5 kB / 0.6987 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of SimCode: time 4.91e-07/0.3374, allocations: 0 / 0.6987 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of Templates: time 0.001858/0.3393, allocations: 0.5605 MB / 0.6992 GB, free: 9.113 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.093560068868101]