Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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.001287/0.001287, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001889/0.001889, allocations: 173 kB / 24.14 MB, free: 360 kB / 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.9793/0.9793, allocations: 177.2 MB / 204.6 MB, free: 4.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6271/0.6271, allocations: 115 MB / 376 MB, free: 7.309 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 428.7 MB, free: 2.836 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.42e-05, allocations: 10.25 kB / 428.7 MB, free: 2.824 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3312/0.3312, allocations: 130.6 MB / 0.5462 GB, free: 2.559 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003171/0.3344, allocations: 51.61 kB / 0.5462 GB, free: 2.512 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.3344, allocations: 0 / 0.5462 GB, free: 2.512 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.436e-05/0.3345, allocations: 4 kB / 0.5462 GB, free: 2.508 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.82e-05/0.3346, allocations: 19.84 kB / 0.5463 GB, free: 2.488 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007576/0.3353, allocations: 260 kB / 0.5465 GB, free: 2.242 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.805e-05/0.3354, allocations: 35.84 kB / 0.5465 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.3354, allocations: 11.92 kB / 0.5466 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.156e-05/0.3355, allocations: 15.98 kB / 0.5466 GB, free: 2.18 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.217e-05/0.3355, allocations: 7.984 kB / 0.5466 GB, free: 2.172 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.3356, allocations: 0 / 0.5466 GB, free: 2.172 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003302/0.3359, allocations: 183.1 kB / 0.5468 GB, free: 1.996 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.82e-05/0.3359, allocations: 4 kB / 0.5468 GB, free: 1.992 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.3359, allocations: 19.91 kB / 0.5468 GB, free: 1.973 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.3362, allocations: 180.3 kB / 0.5469 GB, free: 1.797 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3362, allocations: 0 / 0.5469 GB, free: 1.797 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3362, allocations: 0 / 0.5469 GB, free: 1.797 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3362, allocations: 3.938 kB / 0.547 GB, free: 1.793 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002977/0.3365, allocations: 256.4 kB / 0.5472 GB, free: 1.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3366, allocations: 12.03 kB / 0.5472 GB, free: 1.508 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.3366, allocations: 0.9375 kB / 0.5472 GB, free: 1.508 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.526e-05/0.3367, allocations: 105.8 kB / 0.5473 GB, free: 1.379 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.568e-05/0.3367, allocations: 55.95 kB / 0.5474 GB, free: 1.312 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.3367, allocations: 5.125 kB / 0.5474 GB, free: 1.309 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.3368, allocations: 88.41 kB / 0.5475 GB, free: 1.207 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3369, allocations: 3.938 kB / 0.5475 GB, free: 1.203 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.3369, allocations: 0 / 0.5475 GB, free: 1.203 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.3369, allocations: 0 / 0.5475 GB, free: 1.203 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.998e-05/0.3369, allocations: 8.688 kB / 0.5475 GB, free: 1.195 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.3373, allocations: 206 kB / 0.5477 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.046e-05/0.3373, allocations: 14.64 kB / 0.5477 GB, free: 0.957 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.468e-06/0.3373, allocations: 8.859 kB / 0.5477 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.309e-05/0.3374, allocations: 47.62 kB / 0.5477 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.3374, allocations: 40.38 kB / 0.5478 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.943e-06/0.3374, allocations: 1.266 kB / 0.5478 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 9.328e-05/0.3375, allocations: 33.64 kB / 0.5478 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.3375, allocations: 55.39 kB / 0.5479 GB, free: 0.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.758e-05/0.3376, allocations: 106.6 kB / 0.548 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.3376, allocations: 29.7 kB / 0.548 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.3376, allocations: 86.19 kB / 0.5481 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.73e-06/0.3376, allocations: 4.641 kB / 0.5481 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.3377, allocations: 21.7 kB / 0.5481 GB, free: 492 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.017e-05/0.3377, allocations: 319 kB / 0.5484 GB, free: 164 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-06/0.3377, allocations: 0 / 0.5484 GB, free: 164 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.605e-05/0.3378, allocations: 17.7 kB / 0.5484 GB, free: 140 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.614e-05/0.3378, allocations: 24.47 kB / 0.5484 GB, free: 108 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3378, allocations: 0 / 0.5484 GB, free: 108 kB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.699e-05/0.3378, allocations: 49.56 kB / 0.5485 GB, free: 52 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.3379, allocations: 4 kB / 0.5485 GB, free: 48 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3379, allocations: 0 / 0.5485 GB, free: 48 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3379, allocations: 4.062 kB / 0.5485 GB, free: 44 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.305e-05/0.3379, allocations: 8 kB / 0.5485 GB, free: 36 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.3379, allocations: 0 / 0.5485 GB, free: 36 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.3379, allocations: 0 / 0.5485 GB, free: 36 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.3379, allocations: 5.453 kB / 0.5485 GB, free: 32 kB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 6.95e-05/0.338, allocations: 116.7 kB / 0.5486 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.338, allocations: 3.938 kB / 0.5486 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/0.3411, allocations: 113 kB / 0.5487 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.542e-05/0.3412, allocations: 188.7 kB / 0.5489 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.085e-05/0.3412, allocations: 176.3 kB / 0.5491 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.145e-05/0.3412, allocations: 184.2 kB / 0.5493 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.3414, allocations: 317.5 kB / 0.5496 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-05/0.3414, allocations: 109.9 kB / 0.5497 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.609e-05/0.3415, allocations: 105 kB / 0.5498 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.637e-05/0.3415, allocations: 176.3 kB / 0.5499 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/0.3415, allocations: 184.2 kB / 0.5501 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.565e-05/0.3416, allocations: 180.2 kB / 0.5503 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.766e-05/0.3416, allocations: 180.2 kB / 0.5504 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.3418, allocations: 315.8 kB / 0.5507 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.3418, allocations: 105.8 kB / 0.5508 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.3419, allocations: 188.2 kB / 0.551 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.342, allocations: 112.9 kB / 0.5511 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.342, allocations: 182.2 kB / 0.5513 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.342, allocations: 106.2 kB / 0.5514 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 1.963e-05/0.3421, allocations: 16.84 kB / 0.5514 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.3421, allocations: 0 / 0.5514 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002707/0.3423, allocations: 59.69 kB / 0.5515 GB, free: 12.81 MB / 0.4948 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 (0): * Single equations (assignments): 0 * 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 0.0002534/0.3426, allocations: 231.4 kB / 0.5517 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.943e-05/0.3426, allocations: 16.84 kB / 0.5517 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3426, allocations: 0 / 0.5517 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.3426, allocations: 0 / 0.5517 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.3429, allocations: 469.1 kB / 0.5522 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.3432, allocations: 196.5 kB / 0.5524 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.451e-05/0.3433, allocations: 55.34 kB / 0.5524 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.64e-05/0.3433, allocations: 4 kB / 0.5524 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.257e-05/0.3434, allocations: 59.89 kB / 0.5525 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.3434, allocations: 0 / 0.5525 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.006292/0.3497, allocations: 1.407 MB / 0.5538 GB, free: 10.4 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6348160267807543]