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.0007964/0.0007964, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.0009615/0.0009615, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9574/0.9574, allocations: 177.1 MB / 203.7 MB, free: 5.469 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.001749/0.001749, allocations: 249.7 kB / 260.5 MB, free: 12.62 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.744/0.744, allocations: 138.4 MB / 455.5 MB, free: 1.426 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.653e-06/1.653e-06, allocations: 0 / 0.5556 GB, free: 256 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.756e-05, allocations: 5.969 kB / 0.5556 GB, free: 252 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.33/0.33, allocations: 141 MB / 0.6933 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001143/0.3301, allocations: 41.84 kB / 0.6934 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.046e-05/0.3302, allocations: 0 / 0.6934 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.3303, allocations: 6.719 kB / 0.6934 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.733e-05/0.3304, allocations: 18.12 kB / 0.6934 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.3308, allocations: 119.2 kB / 0.6935 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.453e-05/0.3309, allocations: 36.69 kB / 0.6935 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.3309, allocations: 6.516 kB / 0.6935 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.306e-05/0.331, allocations: 20.41 kB / 0.6936 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.417e-05/0.331, allocations: 12 kB / 0.6936 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3311, allocations: 0 / 0.6936 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.3313, allocations: 75.47 kB / 0.6936 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.3313, allocations: 20.95 kB / 0.6937 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.516e-05/0.3313, allocations: 6.125 kB / 0.6937 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.3314, allocations: 68.66 kB / 0.6937 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3314, allocations: 0 / 0.6937 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3314, allocations: 0 / 0.6937 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.065e-06/0.3314, allocations: 0 / 0.6937 GB, free: 14.09 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.0002406/0.3317, allocations: 372.1 kB / 0.6941 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.3317, allocations: 15.97 kB / 0.6941 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.3319, allocations: 27 kB / 0.6941 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.789e-05/0.3319, allocations: 115.6 kB / 0.6942 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.332, allocations: 58.17 kB / 0.6943 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.332, allocations: 384 / 0.6943 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.525e-05/0.3321, allocations: 84.39 kB / 0.6944 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.3321, allocations: 0 / 0.6944 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.3321, allocations: 0 / 0.6944 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.3321, allocations: 2.906 kB / 0.6944 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.242e-05/0.3321, allocations: 13.67 kB / 0.6944 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.3323, allocations: 246.1 kB / 0.6946 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.3344, allocations: 27.09 kB / 0.6947 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/0.3344, allocations: 9.719 kB / 0.6947 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.982e-06/0.3344, allocations: 0 / 0.6947 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.3344, allocations: 36.86 kB / 0.6947 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.3344, allocations: 0 / 0.6947 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001019/0.3345, allocations: 35.08 kB / 0.6947 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.526e-05/0.3345, allocations: 55.41 kB / 0.6948 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/0.3367, allocations: 170.6 kB / 0.6949 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.3367, allocations: 25.7 kB / 0.695 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.3368, allocations: 141.8 kB / 0.6951 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-06/0.3368, allocations: 3.953 kB / 0.6951 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.3368, allocations: 26.27 kB / 0.6951 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.82e-05/0.3368, allocations: 498.7 kB / 0.6956 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-06/0.3368, allocations: 0 / 0.6956 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.795e-05/0.3369, allocations: 28.34 kB / 0.6956 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.218e-05/0.3369, allocations: 40.86 kB / 0.6957 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3369, allocations: 1.75 kB / 0.6957 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.598e-05/0.337, allocations: 53.89 kB / 0.6957 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.337, allocations: 5.969 kB / 0.6957 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.337, allocations: 0 / 0.6957 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.337, allocations: 0 / 0.6957 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.627e-05/0.337, allocations: 9.891 kB / 0.6957 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.337, allocations: 2.969 kB / 0.6957 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.3371, allocations: 0 / 0.6957 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.3371, allocations: 6.156 kB / 0.6958 GB, free: 11.93 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.22e-05/0.3371, allocations: 167.4 kB / 0.6959 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.3371, allocations: 8.047 kB / 0.6959 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.3371, allocations: 5.656 kB / 0.6959 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3371, allocations: 0 / 0.6959 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.3371, allocations: 0 / 0.6959 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3372, allocations: 0 / 0.6959 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.3373, allocations: 385.5 kB / 0.6963 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3373, allocations: 0 / 0.6963 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-06/0.3373, allocations: 3.531 kB / 0.6963 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3373, allocations: 0 / 0.6963 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-06/0.3373, allocations: 0 / 0.6963 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3373, allocations: 1.688 kB / 0.6963 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3373, allocations: 8.016 kB / 0.6963 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.915e-05/0.3374, allocations: 72.58 kB / 0.6964 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.662e-06/0.3374, allocations: 2.531 kB / 0.6964 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-06/0.3374, allocations: 0 / 0.6964 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.031e-05/0.3374, allocations: 7.016 kB / 0.6964 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-06/0.3374, allocations: 0 / 0.6964 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.3374, allocations: 0 / 0.6964 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.649e-05/0.3375, allocations: 124.7 kB / 0.6965 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.3375, allocations: 0 / 0.6965 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001757/0.3376, allocations: 9.438 kB / 0.6965 GB, free: 11.12 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.732e-05/0.3377, allocations: 99.59 kB / 0.6966 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.117e-05/0.3378, allocations: 23.7 kB / 0.6966 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3378, allocations: 0 / 0.6966 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.51e-06/0.3378, allocations: 10.78 kB / 0.6966 GB, free: 11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.3379, allocations: 11.08 kB / 0.6966 GB, free: 11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.3383, allocations: 132.2 kB / 0.6968 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.72e-05/0.3383, allocations: 56.56 kB / 0.6968 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.315e-05/0.3383, allocations: 6.797 kB / 0.6968 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.3384, allocations: 84.83 kB / 0.6969 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of SimCode: time 5.41e-07/0.3384, allocations: 0 / 0.6969 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of Templates: time 0.004497/0.3429, allocations: 0.6223 MB / 0.6975 GB, free: 10.44 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: 3.8174940291792154]