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.002186/0.002186, allocations: 114.8 kB / 19.69 MB, free: 2.047 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.002883/0.002883, allocations: 223.4 kB / 23.01 MB, free: 4.926 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.58/1.58, allocations: 230.6 MB / 256.8 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 1.024/1.024, allocations: 150 MB / 463.1 MB, free: 10.5 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.002089/0.002089, allocations: 71.31 kB / 0.6417 GB, free: 9.926 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2385, allocations: 89.17 MB / 0.7288 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006958/0.2454, allocations: 4.135 MB / 0.7328 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002504/0.2457, allocations: 151.5 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.2457, allocations: 4 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.2458, allocations: 7.938 kB / 0.733 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.561e-05/0.2459, allocations: 7.969 kB / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.2463, allocations: 91.62 kB / 0.7331 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.2464, allocations: 27.86 kB / 0.7331 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.622e-05/0.2465, allocations: 0 / 0.7331 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.505e-05/0.2466, allocations: 23.97 kB / 0.7331 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.2467, allocations: 15.92 kB / 0.7331 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.2467, allocations: 4 kB / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.2469, allocations: 75.77 kB / 0.7332 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.842e-05/0.247, allocations: 11.98 kB / 0.7332 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.247, allocations: 7.938 kB / 0.7332 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.2472, allocations: 67.84 kB / 0.7333 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2472, allocations: 3.938 kB / 0.7333 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2472, allocations: 0 / 0.7333 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.2472, allocations: 0 / 0.7333 GB, free: 12.16 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.0004534/0.2477, allocations: 266.3 kB / 0.7336 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.2477, allocations: 8.031 kB / 0.7336 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.2478, allocations: 0.9375 kB / 0.7336 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2479, allocations: 114.5 kB / 0.7337 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.429e-05/0.248, allocations: 51.97 kB / 0.7337 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.248, allocations: 384 / 0.7337 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.2481, allocations: 49.62 kB / 0.7338 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2481, allocations: 0 / 0.7338 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.2482, allocations: 0 / 0.7338 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.2482, allocations: 4 kB / 0.7338 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.138e-05/0.2482, allocations: 23.91 kB / 0.7338 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.2487, allocations: 227.9 kB / 0.734 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.398e-05/0.2488, allocations: 22.58 kB / 0.734 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.2488, allocations: 4.859 kB / 0.734 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.212e-05/0.2488, allocations: 8.062 kB / 0.7341 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.2489, allocations: 34.56 kB / 0.7341 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.2489, allocations: 0 / 0.7341 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001861/0.249, allocations: 41.58 kB / 0.7341 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.2491, allocations: 55.41 kB / 0.7342 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.2492, allocations: 101.8 kB / 0.7343 GB, free: 11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.2492, allocations: 25.7 kB / 0.7343 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/0.2493, allocations: 96.08 kB / 0.7344 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-06/0.2493, allocations: 0 / 0.7344 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.2493, allocations: 17.84 kB / 0.7344 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2495, allocations: 314.8 kB / 0.7347 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.2495, allocations: 11.98 kB / 0.7347 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/0.2495, allocations: 13.72 kB / 0.7347 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.092e-05/0.2496, allocations: 21.66 kB / 0.7348 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.2496, allocations: 4 kB / 0.7348 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.455e-05/0.2497, allocations: 49.62 kB / 0.7348 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2497, allocations: 8 kB / 0.7348 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.2497, allocations: 0 / 0.7348 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2497, allocations: 3.938 kB / 0.7348 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.666e-05/0.2497, allocations: 4 kB / 0.7348 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.2497, allocations: 7.984 kB / 0.7348 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.004e-05/0.2498, allocations: 3.953 kB / 0.7348 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.2498, allocations: 0 / 0.7348 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 9.678e-05/0.2499, allocations: 117.8 kB / 0.7349 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.2499, allocations: 0 / 0.7349 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.25, allocations: 121 kB / 0.7351 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.146e-05/0.2501, allocations: 180.2 kB / 0.7352 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.122e-05/0.2502, allocations: 180.3 kB / 0.7354 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001005/0.2503, allocations: 184.2 kB / 0.7356 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.2506, allocations: 384.2 kB / 0.7359 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.454e-05/0.2507, allocations: 101 kB / 0.736 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/0.2507, allocations: 104.9 kB / 0.7361 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.97e-05/0.2508, allocations: 180.2 kB / 0.7363 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.997e-05/0.2509, allocations: 188.1 kB / 0.7365 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.963e-05/0.251, allocations: 188.2 kB / 0.7367 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001/0.2511, allocations: 180.2 kB / 0.7368 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.2514, allocations: 303.8 kB / 0.7371 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.961e-05/0.2514, allocations: 116.9 kB / 0.7372 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.2516, allocations: 180.3 kB / 0.7374 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.2517, allocations: 112.9 kB / 0.7375 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.2519, allocations: 176.3 kB / 0.7377 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.787e-05/0.2519, allocations: 105 kB / 0.7378 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.021e-05/0.252, allocations: 83.28 kB / 0.7379 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.252, allocations: 0 / 0.7379 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002875/0.2522, allocations: 19.94 kB / 0.7379 GB, free: 7.059 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.0002331/0.2525, allocations: 210.3 kB / 0.7381 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.2526, allocations: 4 kB / 0.7381 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2526, allocations: 0 / 0.7381 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.068e-06/0.2526, allocations: 4 kB / 0.7381 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005989/0.2532, allocations: 458.5 kB / 0.7385 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.2535, allocations: 190.3 kB / 0.7387 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.2538, allocations: 0.6768 MB / 0.7394 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.732e-05/0.2539, allocations: 4 kB / 0.7394 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.2539, allocations: 7.438 kB / 0.7394 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.2539, allocations: 0 / 0.7394 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of Templates: time 0.003393/0.2573, allocations: 0.6342 MB / 0.74 GB, free: 4.828 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.311671228148043] Failed to read output from testmodel.py, exit status != 0: 0.2663314058445394 0.280981611 0.030599464000000003 Calling exit ...