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.001462/0.001462, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001506/0.001506, allocations: 213 kB / 22.99 MB, free: 4.602 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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.789 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 1.03/1.03, allocations: 149.9 MB / 463 MB, free: 10.37 MB / 366.1 MB " [Timeout remaining time 178] 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.002154/0.002154, allocations: 71.31 kB / 0.6415 GB, free: 9.652 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2235, allocations: 89.18 MB / 0.7286 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006003/0.2295, allocations: 3.893 MB / 0.7324 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000226/0.2298, allocations: 139.5 kB / 0.7325 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.2298, allocations: 0 / 0.7325 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.2299, allocations: 0 / 0.7325 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.434e-05/0.23, allocations: 19.84 kB / 0.7326 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.2304, allocations: 94.8 kB / 0.7327 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.096e-05/0.2305, allocations: 27.91 kB / 0.7327 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.2305, allocations: 4 kB / 0.7327 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.2305, allocations: 19.88 kB / 0.7327 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.044e-05/0.2306, allocations: 15.97 kB / 0.7327 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.2306, allocations: 0 / 0.7327 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.2308, allocations: 51.81 kB / 0.7328 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.2309, allocations: 8 kB / 0.7328 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.2309, allocations: 15.91 kB / 0.7328 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.2311, allocations: 55.88 kB / 0.7328 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2311, allocations: 0 / 0.7328 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2311, allocations: 0 / 0.7328 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.2311, allocations: 0 / 0.7328 GB, free: 12.17 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.0004372/0.2315, allocations: 266.2 kB / 0.7331 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2316, allocations: 8.031 kB / 0.7331 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.2316, allocations: 0.9375 kB / 0.7331 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.2317, allocations: 114.5 kB / 0.7332 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.926e-05/0.2318, allocations: 59.97 kB / 0.7333 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.2318, allocations: 384 / 0.7333 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.232, allocations: 75.31 kB / 0.7333 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.232, allocations: 0 / 0.7333 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.232, allocations: 0 / 0.7333 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.232, allocations: 0 / 0.7333 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.231e-05/0.2321, allocations: 19.98 kB / 0.7334 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.2325, allocations: 208.5 kB / 0.7336 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.645e-05/0.2325, allocations: 18.52 kB / 0.7336 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.2325, allocations: 8.922 kB / 0.7336 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.014e-05/0.2326, allocations: 11.98 kB / 0.7336 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.2326, allocations: 34.56 kB / 0.7336 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.2326, allocations: 0 / 0.7336 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001598/0.2328, allocations: 45.59 kB / 0.7337 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.2328, allocations: 51.41 kB / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.96e-05/0.2329, allocations: 109.8 kB / 0.7338 GB, free: 11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.233, allocations: 25.7 kB / 0.7339 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.233, allocations: 84.09 kB / 0.7339 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-06/0.233, allocations: 0 / 0.7339 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.2331, allocations: 21.7 kB / 0.734 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.2332, allocations: 322.9 kB / 0.7343 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.306e-05/0.2332, allocations: 0 / 0.7343 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.495e-05/0.2332, allocations: 17.7 kB / 0.7343 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.965e-05/0.2333, allocations: 21.72 kB / 0.7343 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2333, allocations: 7.875 kB / 0.7343 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.621e-05/0.2334, allocations: 49.64 kB / 0.7344 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2334, allocations: 8 kB / 0.7344 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2334, allocations: 0 / 0.7344 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2334, allocations: 4.062 kB / 0.7344 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.573e-05/0.2334, allocations: 4 kB / 0.7344 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2334, allocations: 4 kB / 0.7344 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.2335, allocations: 3.938 kB / 0.7344 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2335, allocations: 3.938 kB / 0.7344 GB, free: 10.39 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 8.59e-05/0.2336, allocations: 117.8 kB / 0.7345 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.2336, allocations: 3.984 kB / 0.7345 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.2337, allocations: 113 kB / 0.7346 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.006e-05/0.2338, allocations: 180.2 kB / 0.7348 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.208e-05/0.2339, allocations: 188.3 kB / 0.735 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001146/0.234, allocations: 184.2 kB / 0.7351 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.2343, allocations: 356.8 kB / 0.7355 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.005e-05/0.2343, allocations: 101 kB / 0.7356 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.315e-05/0.2344, allocations: 112.9 kB / 0.7357 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.95e-05/0.2345, allocations: 180.3 kB / 0.7359 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.552e-05/0.2346, allocations: 176.3 kB / 0.736 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000103/0.2347, allocations: 184.2 kB / 0.7362 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-05/0.2348, allocations: 176.3 kB / 0.7364 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.2349, allocations: 315.7 kB / 0.7367 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.235, allocations: 104.9 kB / 0.7368 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.44e-05/0.2351, allocations: 188.2 kB / 0.7369 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.2353, allocations: 105 kB / 0.737 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.767e-05/0.2354, allocations: 188.5 kB / 0.7372 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-05/0.2354, allocations: 105 kB / 0.7373 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.711e-05/0.2355, allocations: 87.27 kB / 0.7374 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2355, allocations: 0 / 0.7374 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002839/0.2357, allocations: 19.94 kB / 0.7374 GB, free: 7.094 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.0002059/0.2359, allocations: 191.4 kB / 0.7376 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.691e-05/0.236, allocations: 12 kB / 0.7376 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.236, allocations: 0 / 0.7376 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.236, allocations: 0 / 0.7376 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/0.2367, allocations: 471.6 kB / 0.7381 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.2371, allocations: 174.2 kB / 0.7382 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.901e-05/0.2372, allocations: 63.28 kB / 0.7383 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.008e-05/0.2372, allocations: 11.98 kB / 0.7383 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.2373, allocations: 11.5 kB / 0.7383 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.2373, allocations: 0 / 0.7383 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of Templates: time 0.003906/0.2412, allocations: 0.6664 MB / 0.739 GB, free: 5.461 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: 6.133669527247548] Failed to read output from testmodel.py, exit status != 0: 0.2500717658549547 0.26462863899999994 0.03037524299999994 Calling exit ...