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.001584/0.001584, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 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.001815/0.001815, allocations: 209.3 kB / 23.76 MB, free: 4.727 MB / 14.72 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.9558/0.9558, allocations: 150 MB / 463.9 MB, free: 10.49 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 66.36 kB / 0.6425 GB, free: 9.91 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1917, allocations: 89.17 MB / 0.7296 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.007225/0.1989, allocations: 4.134 MB / 0.7336 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002779/0.1992, allocations: 163.4 kB / 0.7337 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.1993, allocations: 0 / 0.7337 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.1994, allocations: 0 / 0.7337 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.1995, allocations: 19.91 kB / 0.7338 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005219/0.2, allocations: 87.67 kB / 0.7338 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.2002, allocations: 31.91 kB / 0.7339 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.528e-05/0.2002, allocations: 4 kB / 0.7339 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.299e-05/0.2003, allocations: 11.94 kB / 0.7339 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.2004, allocations: 23.91 kB / 0.7339 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.2004, allocations: 0 / 0.7339 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.2007, allocations: 75.77 kB / 0.734 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.2008, allocations: 8 kB / 0.734 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.2008, allocations: 15.97 kB / 0.734 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.201, allocations: 59.81 kB / 0.7341 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.201, allocations: 0 / 0.7341 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.201, allocations: 0 / 0.7341 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.201, allocations: 4 kB / 0.7341 GB, free: 12.14 MB / 0.5606 GB 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.0004647/0.2015, allocations: 262.3 kB / 0.7343 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2016, allocations: 8.031 kB / 0.7343 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.2016, allocations: 4.938 kB / 0.7343 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.2017, allocations: 110.5 kB / 0.7344 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.21e-05/0.2018, allocations: 55.97 kB / 0.7345 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.2018, allocations: 8.312 kB / 0.7345 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.202, allocations: 41.62 kB / 0.7345 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.202, allocations: 0 / 0.7345 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.202, allocations: 0 / 0.7345 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.202, allocations: 3.984 kB / 0.7345 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.022e-05/0.2021, allocations: 16 kB / 0.7346 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.2026, allocations: 243.9 kB / 0.7348 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.256e-05/0.2026, allocations: 14.58 kB / 0.7348 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.2026, allocations: 4.859 kB / 0.7348 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.27e-05/0.2027, allocations: 15.98 kB / 0.7348 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.2027, allocations: 34.56 kB / 0.7349 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.2027, allocations: 0 / 0.7349 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001786/0.2029, allocations: 45.59 kB / 0.7349 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.203, allocations: 51.41 kB / 0.735 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.2031, allocations: 105.8 kB / 0.7351 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.2031, allocations: 25.7 kB / 0.7351 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.2031, allocations: 88.09 kB / 0.7352 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-06/0.2032, allocations: 0 / 0.7352 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.2032, allocations: 21.7 kB / 0.7352 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2033, allocations: 314.8 kB / 0.7355 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.2034, allocations: 8.125 kB / 0.7355 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.2034, allocations: 17.72 kB / 0.7355 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.208e-05/0.2034, allocations: 21.64 kB / 0.7355 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2034, allocations: 0 / 0.7355 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.366e-05/0.2035, allocations: 49.69 kB / 0.7356 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2035, allocations: 4 kB / 0.7356 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2035, allocations: 4.062 kB / 0.7356 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2036, allocations: 0 / 0.7356 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.462e-05/0.2036, allocations: 8 kB / 0.7356 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2036, allocations: 3.938 kB / 0.7356 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.2036, allocations: 3.953 kB / 0.7356 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.2036, allocations: 4 kB / 0.7356 GB, free: 10.37 MB / 0.5606 GB 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 9.437e-05/0.2037, allocations: 113.8 kB / 0.7357 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.2038, allocations: 0 / 0.7357 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.2039, allocations: 121 kB / 0.7358 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.778e-05/0.204, allocations: 180.2 kB / 0.736 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.91e-05/0.2041, allocations: 188.3 kB / 0.7362 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.613e-05/0.2042, allocations: 184.5 kB / 0.7364 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.2044, allocations: 376.2 kB / 0.7367 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-05/0.2045, allocations: 113 kB / 0.7368 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/0.2045, allocations: 104.9 kB / 0.7369 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.213e-05/0.2046, allocations: 180.3 kB / 0.7371 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-05/0.2047, allocations: 184.2 kB / 0.7373 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-05/0.2048, allocations: 176.3 kB / 0.7374 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.476e-05/0.2049, allocations: 180.2 kB / 0.7376 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.2051, allocations: 315.6 kB / 0.7379 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.2051, allocations: 108.9 kB / 0.738 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.2052, allocations: 180.2 kB / 0.7382 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.2054, allocations: 109 kB / 0.7383 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/0.2055, allocations: 184.2 kB / 0.7385 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.204e-05/0.2056, allocations: 109 kB / 0.7386 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.611e-05/0.2056, allocations: 87.27 kB / 0.7387 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2056, allocations: 0 / 0.7387 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002644/0.2059, allocations: 19.94 kB / 0.7387 GB, free: 7.035 MB / 0.5606 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.0002163/0.2061, allocations: 194.4 kB / 0.7389 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.552e-05/0.2062, allocations: 19.92 kB / 0.7389 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2062, allocations: 0 / 0.7389 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.2062, allocations: 0 / 0.7389 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.2067, allocations: 459.7 kB / 0.7393 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.207, allocations: 200 kB / 0.7395 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.2074, allocations: 0.6768 MB / 0.7402 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.2074, allocations: 11.44 kB / 0.7402 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.2074, allocations: 0 / 0.7402 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of Templates: time 0.002675/0.2101, allocations: 0.7209 MB / 0.7409 GB, free: 4.699 MB / 0.5606 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.32552987919189] Failed to read output from testmodel.py, exit status != 0: 0.21906744199804962 0.23414715600000002 0.029933385000000003 Calling exit ...