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.001924/0.001924, allocations: 93.47 kB / 19.44 MB, free: 332 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.002143/0.002143, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.585/1.585, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.003384/0.003384, allocations: 231.3 kB / 259.8 MB, free: 12.84 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.211/1.211, allocations: 138.4 MB / 454.7 MB, free: 1.477 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.704e-06/1.704e-06, allocations: 0 / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.304e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4017/0.4018, allocations: 143.4 MB / 0.6943 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001216/0.4019, allocations: 49.77 kB / 0.6944 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.4019, allocations: 0 / 0.6944 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.402, allocations: 7.875 kB / 0.6944 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.013e-05/0.4021, allocations: 10.53 kB / 0.6944 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.4025, allocations: 115.5 kB / 0.6945 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.522e-05/0.4026, allocations: 31.86 kB / 0.6946 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 2.89e-05/0.4026, allocations: 7.984 kB / 0.6946 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.219e-05/0.4027, allocations: 15.98 kB / 0.6946 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.264e-05/0.4027, allocations: 15.92 kB / 0.6946 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.4027, allocations: 0 / 0.6946 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.4029, allocations: 71.67 kB / 0.6947 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.482e-05/0.403, allocations: 15.98 kB / 0.6947 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.403, allocations: 4 kB / 0.6947 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.4031, allocations: 79.77 kB / 0.6948 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4031, allocations: 0 / 0.6948 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4032, allocations: 0 / 0.6948 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.4032, allocations: 0 / 0.6948 GB, free: 13.18 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.0003047/0.4035, allocations: 371 kB / 0.6951 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.4035, allocations: 8.75 kB / 0.6951 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.4037, allocations: 33.48 kB / 0.6951 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.84e-05/0.4038, allocations: 112.6 kB / 0.6953 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/0.4038, allocations: 55.97 kB / 0.6953 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.4039, allocations: 384 / 0.6953 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.404, allocations: 71.33 kB / 0.6954 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.404, allocations: 0 / 0.6954 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.404, allocations: 0 / 0.6954 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.404, allocations: 4 kB / 0.6954 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.63e-05/0.404, allocations: 15.17 kB / 0.6954 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.4043, allocations: 259.8 kB / 0.6956 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.966e-05/0.4044, allocations: 35 kB / 0.6957 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.397e-05/0.4044, allocations: 7.688 kB / 0.6957 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.4044, allocations: 0 / 0.6957 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.4044, allocations: 37.45 kB / 0.6957 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.4044, allocations: 0 / 0.6957 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.4045, allocations: 33.69 kB / 0.6958 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.491e-05/0.4045, allocations: 55.34 kB / 0.6958 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.664e-05/0.4046, allocations: 169.9 kB / 0.696 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.4046, allocations: 29.7 kB / 0.696 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/0.4046, allocations: 142.9 kB / 0.6961 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.511e-06/0.4046, allocations: 3.953 kB / 0.6961 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.4047, allocations: 23.38 kB / 0.6962 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.578e-05/0.4047, allocations: 0.4883 MB / 0.6966 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.4047, allocations: 0 / 0.6966 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.213e-05/0.4048, allocations: 35.05 kB / 0.6967 GB, free: 11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.016e-05/0.4048, allocations: 39 kB / 0.6967 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4048, allocations: 3.938 kB / 0.6967 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.334e-05/0.4049, allocations: 57.62 kB / 0.6968 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.4049, allocations: 8 kB / 0.6968 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.4049, allocations: 0 / 0.6968 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4049, allocations: 0 / 0.6968 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.338e-05/0.4049, allocations: 8 kB / 0.6968 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4049, allocations: 0 / 0.6968 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.753e-05/0.405, allocations: 0 / 0.6968 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.405, allocations: 4 kB / 0.6968 GB, free: 10.86 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 5.904e-05/0.405, allocations: 156.5 kB / 0.6969 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.4051, allocations: 16.03 kB / 0.6969 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.4051, allocations: 7.156 kB / 0.697 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.4051, allocations: 0 / 0.697 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.4051, allocations: 0 / 0.697 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.4051, allocations: 4.031 kB / 0.697 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.4053, allocations: 404.3 kB / 0.6973 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4053, allocations: 0.75 kB / 0.6973 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/0.4053, allocations: 0 / 0.6973 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4053, allocations: 0 / 0.6973 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-06/0.4053, allocations: 0 / 0.6973 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4053, allocations: 0 / 0.6973 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4053, allocations: 10.05 kB / 0.6974 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.659e-05/0.4053, allocations: 80.31 kB / 0.6974 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.4053, allocations: 0 / 0.6974 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.4053, allocations: 0 / 0.6974 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.4054, allocations: 4 kB / 0.6974 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.4054, allocations: 0 / 0.6974 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-06/0.4054, allocations: 0 / 0.6974 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.789e-05/0.4055, allocations: 132.2 kB / 0.6976 GB, free: 9.988 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.4055, allocations: 0 / 0.6976 GB, free: 9.988 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001947/0.4057, allocations: 12 kB / 0.6976 GB, free: 9.977 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.78e-05/0.4057, allocations: 99.28 kB / 0.6977 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.215e-05/0.4058, allocations: 23.61 kB / 0.6977 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4058, allocations: 0 / 0.6977 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.753e-06/0.4058, allocations: 11.69 kB / 0.6977 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.406, allocations: 9.641 kB / 0.6977 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001973/0.4062, allocations: 113.1 kB / 0.6978 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.765e-05/0.4062, allocations: 63.59 kB / 0.6979 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.094e-05/0.4063, allocations: 4 kB / 0.6979 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.91e-05/0.4063, allocations: 12.5 kB / 0.6979 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of SimCode: time 4.21e-07/0.4063, allocations: 0 / 0.6979 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of Templates: time 0.002923/0.4092, allocations: 0.5738 MB / 0.6985 GB, free: 9.074 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: 6.337536429986358]