Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.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.001919/0.001919, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002403/0.002403, allocations: 159.5 kB / 23.01 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.457/1.457, allocations: 177.2 MB / 203.4 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04014/0.04014, allocations: 6.481 MB / 266.3 MB, free: 10.29 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: EHPTlib 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.002305/0.002305, allocations: 63.91 kB / 392.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1094, allocations: 55.41 MB / 448 MB, free: 3.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.006345/0.1158, allocations: 3.508 MB / 451.5 MB, free: 15.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003586/0.1194, allocations: 1.885 MB / 453.4 MB, free: 14.1 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003538/0.1197, allocations: 7.938 kB / 453.4 MB, free: 14.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005652/0.1203, allocations: 206.9 kB / 453.6 MB, free: 13.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008405/0.1211, allocations: 286.6 kB / 453.9 MB, free: 13.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.1221, allocations: 406.7 kB / 454.3 MB, free: 13.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009546/0.1231, allocations: 0.6432 MB / 454.9 MB, free: 12.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/0.1234, allocations: 143.2 kB / 455.1 MB, free: 12.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000414/0.1239, allocations: 263 kB / 455.3 MB, free: 12.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005443/0.1244, allocations: 302.6 kB / 455.6 MB, free: 11.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.1245, allocations: 56 kB / 455.7 MB, free: 11.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003636/0.1249, allocations: 175.9 kB / 455.9 MB, free: 11.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.1251, allocations: 223.3 kB / 456.1 MB, free: 11.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003458/0.1255, allocations: 262.5 kB / 456.3 MB, free: 11.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.1268, allocations: 0.9494 MB / 457.3 MB, free: 10.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1268, allocations: 4 kB / 457.3 MB, free: 10.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1268, allocations: 0 / 457.3 MB, free: 10.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.712e-05/0.1268, allocations: 0 / 457.3 MB, free: 10.21 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.002231/0.129, allocations: 1.055 MB / 458.3 MB, free: 9.109 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1291, allocations: 12.03 kB / 458.4 MB, free: 9.098 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.1293, allocations: 84.38 kB / 458.4 MB, free: 9.016 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009914/0.1302, allocations: 0.5535 MB / 459 MB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.1303, allocations: 29.12 kB / 459 MB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-05/0.1304, allocations: 40 kB / 459.1 MB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009891/0.1313, allocations: 0.4994 MB / 459.6 MB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.1314, allocations: 0 / 459.6 MB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.1314, allocations: 16 kB / 459.6 MB, free: 7.805 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.1314, allocations: 8 kB / 459.6 MB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009083/0.1323, allocations: 311.7 kB / 459.9 MB, free: 7.492 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002676/0.135, allocations: 1.449 MB / 461.3 MB, free: 5.988 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009812/0.136, allocations: 314 kB / 461.6 MB, free: 5.676 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.1364, allocations: 116.8 kB / 461.8 MB, free: 5.559 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.1364, allocations: 4 kB / 461.8 MB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005104/0.1369, allocations: 190.1 kB / 462 MB, free: 5.359 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.713e-06/0.1369, allocations: 4 kB / 462 MB, free: 5.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.001546/0.1384, allocations: 473.7 kB / 462.4 MB, free: 4.883 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.1385, allocations: 132.5 kB / 462.5 MB, free: 4.723 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.1399, allocations: 0.9572 MB / 463.5 MB, free: 3.754 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.1399, allocations: 37.7 kB / 463.5 MB, free: 3.711 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.1403, allocations: 344.6 kB / 463.9 MB, free: 3.371 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.476e-05/0.1404, allocations: 87.27 kB / 464 MB, free: 3.285 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.1405, allocations: 77.64 kB / 464 MB, free: 3.203 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.1407, allocations: 382.7 kB / 464.4 MB, free: 2.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/0.1412, allocations: 170.5 kB / 464.6 MB, free: 2.645 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.1417, allocations: 328.1 kB / 464.9 MB, free: 2.266 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008575/0.1426, allocations: 348.7 kB / 465.2 MB, free: 1.895 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1426, allocations: 0 / 465.2 MB, free: 1.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001215/0.1438, allocations: 0.5126 MB / 465.8 MB, free: 1.359 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.1438, allocations: 33.7 kB / 465.8 MB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1438, allocations: 0 / 465.8 MB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.144, allocations: 32.78 kB / 465.8 MB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.1444, allocations: 84.09 kB / 465.9 MB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.1456, allocations: 1.241 MB / 467.1 MB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.146, allocations: 55.77 kB / 467.2 MB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.146, allocations: 12 kB / 467.2 MB, free: 15.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006752/0.1467, allocations: 369.9 kB / 467.6 MB, free: 15.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005167/0.1472, allocations: 312.9 kB / 467.9 MB, free: 15.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007726/0.148, allocations: 335.7 kB / 468.2 MB, free: 14.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/0.148, allocations: 0 / 468.2 MB, free: 14.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001117/0.1491, allocations: 0.5045 MB / 468.7 MB, free: 14.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.1491, allocations: 33.7 kB / 468.7 MB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.1491, allocations: 0 / 468.7 MB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.353e-05/0.1492, allocations: 24.84 kB / 468.8 MB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.1495, allocations: 75.83 kB / 468.8 MB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.1506, allocations: 1.253 MB / 470.1 MB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.1509, allocations: 43.75 kB / 470.1 MB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.151, allocations: 19.94 kB / 470.2 MB, free: 12.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,iceT.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.1512, allocations: 200.2 kB / 470.3 MB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.1513, allocations: 63.58 kB / 470.4 MB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.1523, allocations: 383.2 kB / 470.8 MB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1523, allocations: 7.938 kB / 470.8 MB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1523, allocations: 0 / 470.8 MB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1523, allocations: 3.938 kB / 470.8 MB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000535/0.1528, allocations: 412.9 kB / 471.2 MB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1528, allocations: 0 / 471.2 MB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/0.1532, allocations: 55.95 kB / 471.3 MB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.861e-05/0.1532, allocations: 20.8 kB / 471.3 MB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.1533, allocations: 7.984 kB / 471.3 MB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.1543, allocations: 1.241 MB / 472.5 MB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1543, allocations: 0 / 472.5 MB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.1557, allocations: 0.5216 MB / 473 MB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.1559, allocations: 91.61 kB / 473.1 MB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.833e-05/0.1559, allocations: 8 kB / 473.1 MB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.1562, allocations: 27.97 kB / 473.2 MB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/0.1563, allocations: 27.95 kB / 473.2 MB, free: 9.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.1563, allocations: 7.938 kB / 473.2 MB, free: 9.383 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009835/0.1573, allocations: 0.6826 MB / 473.9 MB, free: 8.707 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1573, allocations: 0 / 473.9 MB, free: 8.707 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007907/0.1581, allocations: 243.4 kB / 474.1 MB, free: 8.469 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,iceT.tokgFuel.y) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002989/0.1611, allocations: 0.7505 MB / 474.9 MB, free: 8.008 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.163, allocations: 0.8476 MB / 475.7 MB, free: 7.102 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.163, allocations: 0 / 475.7 MB, free: 7.102 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005936/0.1636, allocations: 246.5 kB / 476 MB, free: 6.848 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.1642, allocations: 94.17 kB / 476.1 MB, free: 6.758 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.1669, allocations: 1.355 MB / 477.4 MB, free: 5.367 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.1673, allocations: 333.8 kB / 477.7 MB, free: 5.016 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002811/0.1676, allocations: 88.23 kB / 477.8 MB, free: 4.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.1677, allocations: 48.48 kB / 477.9 MB, free: 4.879 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1677, allocations: 0 / 477.9 MB, free: 4.879 MB / 446.1 MB Notification: Performance of Templates: time 0.2095/0.3773, allocations: 7.875 MB / 485.7 MB, free: 70 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.926195426029153] Failed to read output from testmodel.py, exit status != 0: 0.3854589570546523 0.394561266 0.26548767300000004 Calling exit ...