Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.0009353/0.0009353, allocations: 84.22 kB / 20.94 MB, free: 3.609 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.001337/0.001337, allocations: 169 kB / 24.25 MB, free: 308 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 1.089/1.089, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.6326/0.6326, allocations: 115 MB / 376 MB, free: 7.598 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 0.5469 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/3.015e-05, allocations: 4.703 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005193/0.005223, allocations: 4.17 MB / 485.6 MB, free: 9.031 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001653/0.005388, allocations: 153.3 kB / 485.8 MB, free: 8.934 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.265e-05/0.005421, allocations: 1.438 kB / 485.8 MB, free: 8.934 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.005532, allocations: 1.062 kB / 485.8 MB, free: 8.934 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.078e-05/0.005612, allocations: 21.41 kB / 485.8 MB, free: 8.918 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.005958, allocations: 82.83 kB / 485.9 MB, free: 8.883 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.118e-05/0.006049, allocations: 31.88 kB / 485.9 MB, free: 8.871 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.006093, allocations: 2.312 kB / 485.9 MB, free: 8.871 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.154e-05/0.006154, allocations: 30.08 kB / 486 MB, free: 8.859 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.55e-05/0.00623, allocations: 10.09 kB / 486 MB, free: 8.859 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.006244, allocations: 0.8125 kB / 486 MB, free: 8.859 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.006421, allocations: 61.53 kB / 486 MB, free: 8.832 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.006468, allocations: 5.75 kB / 486 MB, free: 8.828 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.006493, allocations: 12.41 kB / 486 MB, free: 8.824 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.006645, allocations: 62.23 kB / 486.1 MB, free: 8.809 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.006653, allocations: 0 / 486.1 MB, free: 8.809 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.006654, allocations: 0.5625 kB / 486.1 MB, free: 8.809 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.006659, allocations: 0.625 kB / 486.1 MB, free: 8.809 MB / 410.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.0003184/0.006977, allocations: 365.3 kB / 486.5 MB, free: 8.438 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.007019, allocations: 10.19 kB / 486.5 MB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/0.007072, allocations: 2.625 kB / 486.5 MB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.854e-05/0.00715, allocations: 115.8 kB / 486.6 MB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.296e-05/0.007213, allocations: 53.16 kB / 486.6 MB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.007226, allocations: 3.312 kB / 486.6 MB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.007354, allocations: 79.08 kB / 486.7 MB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.007362, allocations: 192 / 486.7 MB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.007373, allocations: 3.938 kB / 486.7 MB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.007399, allocations: 1.906 kB / 486.7 MB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.282e-05/0.007432, allocations: 6.344 kB / 486.7 MB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.007779, allocations: 261.1 kB / 487 MB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.514e-05/0.007814, allocations: 32.12 kB / 487 MB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.00783, allocations: 13.5 kB / 487 MB, free: 7.832 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/0.007881, allocations: 10.7 kB / 487 MB, free: 7.832 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.007901, allocations: 34.67 kB / 487.1 MB, free: 7.789 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.007902, allocations: 0.8438 kB / 487.1 MB, free: 7.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001334/0.008035, allocations: 39.72 kB / 487.1 MB, free: 7.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.008056, allocations: 53.72 kB / 487.2 MB, free: 7.688 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.125e-05/0.008117, allocations: 162.2 kB / 487.3 MB, free: 7.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.008126, allocations: 29.02 kB / 487.4 MB, free: 7.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.008303, allocations: 136.2 kB / 487.5 MB, free: 23.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/0.008309, allocations: 7.312 kB / 487.5 MB, free: 23.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.008338, allocations: 19.22 kB / 487.5 MB, free: 23.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.008454, allocations: 497.4 kB / 488 MB, free: 22.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.008467, allocations: 2.438 kB / 488 MB, free: 22.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/0.008488, allocations: 23.59 kB / 488 MB, free: 22.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.532e-05/0.008523, allocations: 28.66 kB / 488.1 MB, free: 22.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.008526, allocations: 0 / 488.1 MB, free: 22.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.155e-05/0.008597, allocations: 53.58 kB / 488.1 MB, free: 22.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.008611, allocations: 8.594 kB / 488.1 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.008615, allocations: 1.062 kB / 488.1 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.008629, allocations: 1.125 kB / 488.1 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.564e-05/0.008674, allocations: 8.688 kB / 488.1 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.008679, allocations: 5.188 kB / 488.1 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.883e-05/0.008698, allocations: 1.281 kB / 488.1 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.008708, allocations: 2.469 kB / 488.1 MB, free: 22.73 MB / 426.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.853e-05/0.008776, allocations: 158.9 kB / 488.3 MB, free: 22.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.008803, allocations: 6.438 kB / 488.3 MB, free: 22.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.008912, allocations: 162.2 kB / 488.5 MB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.817e-05/0.008981, allocations: 275.4 kB / 488.7 MB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.648e-05/0.009047, allocations: 266.6 kB / 489 MB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.696e-05/0.009114, allocations: 265.3 kB / 489.2 MB, free: 21.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.009298, allocations: 0.4953 MB / 489.7 MB, free: 21.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.726e-05/0.009336, allocations: 146.2 kB / 489.9 MB, free: 20.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.009372, allocations: 150.2 kB / 490 MB, free: 20.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.031e-05/0.009443, allocations: 278 kB / 490.3 MB, free: 20.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.286e-05/0.009515, allocations: 265.4 kB / 490.6 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.898e-05/0.009584, allocations: 269.4 kB / 490.8 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.958e-05/0.009654, allocations: 267.1 kB / 491.1 MB, free: 19.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.009794, allocations: 456.5 kB / 491.5 MB, free: 19.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.00984, allocations: 155.4 kB / 491.7 MB, free: 19.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.091e-05/0.009921, allocations: 265.5 kB / 491.9 MB, free: 18.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.01006, allocations: 151.7 kB / 492.1 MB, free: 18.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.01014, allocations: 274.5 kB / 492.4 MB, free: 18.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.01018, allocations: 145.9 kB / 492.5 MB, free: 18.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.202e-05/0.01023, allocations: 127.2 kB / 492.6 MB, free: 18.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01023, allocations: 1.375 kB / 492.6 MB, free: 18.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002763/0.01051, allocations: 17.59 kB / 492.6 MB, free: 18.11 MB / 426.7 MB 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.0001844/0.01069, allocations: 239 kB / 492.9 MB, free: 17.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.404e-05/0.01077, allocations: 26.72 kB / 492.9 MB, free: 17.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01077, allocations: 0 / 492.9 MB, free: 17.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.01077, allocations: 0 / 492.9 MB, free: 17.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.01124, allocations: 0.708 MB / 493.6 MB, free: 17.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.0117, allocations: 246.4 kB / 493.9 MB, free: 16.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.139e-05/0.01173, allocations: 52.48 kB / 493.9 MB, free: 16.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.592e-05/0.01177, allocations: 4.25 kB / 493.9 MB, free: 16.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.01178, allocations: 12.78 kB / 493.9 MB, free: 16.85 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01179, allocations: 1.062 kB / 493.9 MB, free: 16.85 MB / 426.7 MB Notification: Performance of Templates: time 0.002759/0.01454, allocations: 0.6819 MB / 494.6 MB, free: 16.77 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6273329970426857]