Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.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.001358/0.001358, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.001597/0.001597, allocations: 162.4 kB / 23.01 MB, free: 4.945 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.437/1.437, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.04073/0.04073, allocations: 6.481 MB / 266.3 MB, free: 10.23 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.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [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.002235/0.002235, allocations: 67.89 kB / 392.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1113, allocations: 55.4 MB / 448 MB, free: 3.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.006091/0.1174, allocations: 3.616 MB / 451.7 MB, free: 15.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003344/0.1207, allocations: 1.928 MB / 453.6 MB, free: 13.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.1209, allocations: 7.938 kB / 453.6 MB, free: 13.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005033/0.1214, allocations: 206.8 kB / 453.8 MB, free: 13.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006457/0.1221, allocations: 286.6 kB / 454.1 MB, free: 13.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008436/0.1229, allocations: 414.8 kB / 454.5 MB, free: 13 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007867/0.1237, allocations: 0.6706 MB / 455.1 MB, free: 12.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003119/0.124, allocations: 160.2 kB / 455.3 MB, free: 12.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004208/0.1245, allocations: 286.8 kB / 455.6 MB, free: 11.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.1249, allocations: 294.6 kB / 455.9 MB, free: 11.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.901e-05/0.125, allocations: 56 kB / 455.9 MB, free: 11.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.1252, allocations: 120 kB / 456 MB, free: 11.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.1255, allocations: 223.2 kB / 456.3 MB, free: 11.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002845/0.1258, allocations: 258.4 kB / 456.5 MB, free: 10.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.1269, allocations: 0.9181 MB / 457.4 MB, free: 10.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1269, allocations: 0 / 457.4 MB, free: 10.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1269, allocations: 4 kB / 457.4 MB, free: 10.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1269, allocations: 0 / 457.4 MB, free: 10.03 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001913/0.1288, allocations: 1.058 MB / 458.5 MB, free: 8.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.1288, allocations: 16.03 kB / 458.5 MB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.129, allocations: 88.38 kB / 458.6 MB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008827/0.1298, allocations: 0.5456 MB / 459.1 MB, free: 8.254 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/0.1299, allocations: 41.12 kB / 459.2 MB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.15e-05/0.13, allocations: 39.95 kB / 459.2 MB, free: 8.172 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009363/0.1309, allocations: 482.3 kB / 459.7 MB, free: 7.672 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.1309, allocations: 0 / 459.7 MB, free: 7.672 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.131, allocations: 19.98 kB / 459.7 MB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.131, allocations: 12 kB / 459.7 MB, free: 7.641 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009036/0.1319, allocations: 323.7 kB / 460 MB, free: 7.324 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.1344, allocations: 1.503 MB / 461.5 MB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.1355, allocations: 350.8 kB / 461.9 MB, free: 5.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/0.1359, allocations: 124.8 kB / 462 MB, free: 5.285 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.1359, allocations: 11.98 kB / 462 MB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005091/0.1364, allocations: 189.1 kB / 462.2 MB, free: 5.074 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 1.703e-06/0.1364, allocations: 0 / 462.2 MB, free: 5.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.001881/0.1383, allocations: 0.5707 MB / 462.8 MB, free: 4.496 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.1384, allocations: 81.11 kB / 462.9 MB, free: 4.398 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.1396, allocations: 0.9416 MB / 463.8 MB, free: 3.445 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.1396, allocations: 33.7 kB / 463.8 MB, free: 3.406 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/0.14, allocations: 368.6 kB / 464.2 MB, free: 3.043 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.222e-05/0.1401, allocations: 91.23 kB / 464.3 MB, free: 2.953 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.1402, allocations: 82 kB / 464.4 MB, free: 2.863 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002813/0.1405, allocations: 382.7 kB / 464.7 MB, free: 2.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.1409, allocations: 180.1 kB / 464.9 MB, free: 2.297 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.1414, allocations: 263.1 kB / 465.2 MB, free: 2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000848/0.1423, allocations: 366.2 kB / 465.5 MB, free: 1.613 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1423, allocations: 4 kB / 465.5 MB, free: 1.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001329/0.1436, allocations: 0.5646 MB / 466.1 MB, free: 1.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.1437, allocations: 33.7 kB / 466.1 MB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.1437, allocations: 8.203 kB / 466.1 MB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002842/0.144, allocations: 68.75 kB / 466.2 MB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.1443, allocations: 75.89 kB / 466.3 MB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.1462, allocations: 1.688 MB / 468 MB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.1466, allocations: 51.7 kB / 468 MB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.1466, allocations: 12 kB / 468 MB, free: 14.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006461/0.1472, allocations: 374.6 kB / 468.4 MB, free: 14.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005033/0.1477, allocations: 263.2 kB / 468.6 MB, free: 14.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007557/0.1485, allocations: 332.3 kB / 469 MB, free: 13.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.787e-06/0.1485, allocations: 8.031 kB / 469 MB, free: 13.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001158/0.1497, allocations: 0.5365 MB / 469.5 MB, free: 13.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.1497, allocations: 41.73 kB / 469.6 MB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-06/0.1497, allocations: 96 / 469.6 MB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002002/0.1499, allocations: 64.94 kB / 469.6 MB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.1502, allocations: 75.89 kB / 469.7 MB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.152, allocations: 1.68 MB / 471.4 MB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.1523, allocations: 43.81 kB / 471.4 MB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.1523, allocations: 16 kB / 471.4 MB, free: 11.37 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,iceP.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.1525, allocations: 196.2 kB / 471.6 MB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.174e-05/0.1526, allocations: 67.52 kB / 471.7 MB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.1537, allocations: 433.2 kB / 472.1 MB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.1537, allocations: 7.938 kB / 472.1 MB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.1537, allocations: 3.938 kB / 472.1 MB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1537, allocations: 0 / 472.1 MB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.1554, allocations: 0.8934 MB / 473 MB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1554, allocations: 192 / 473 MB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.1557, allocations: 51.95 kB / 473.1 MB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001994/0.1559, allocations: 64.81 kB / 473.1 MB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.1559, allocations: 11.88 kB / 473.1 MB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.1577, allocations: 1.672 MB / 474.8 MB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1577, allocations: 0 / 474.8 MB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.1592, allocations: 0.6529 MB / 475.5 MB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.1593, allocations: 83.55 kB / 475.5 MB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.1594, allocations: 7.938 kB / 475.6 MB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.1597, allocations: 32.14 kB / 475.6 MB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.1598, allocations: 27.95 kB / 475.6 MB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.1598, allocations: 8 kB / 475.6 MB, free: 6.984 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000916/0.1607, allocations: 0.6669 MB / 476.3 MB, free: 6.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1607, allocations: 0 / 476.3 MB, free: 6.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008457/0.1615, allocations: 235.4 kB / 476.5 MB, free: 6.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceP.inertia.w,iceP.tokgFuel.y,loadTorque.phi) * 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 (22): * Single equations (assignments): 19 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002568/0.1641, allocations: 0.6563 MB / 477.2 MB, free: 5.719 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.166, allocations: 0.9023 MB / 478.1 MB, free: 4.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.166, allocations: 0 / 478.1 MB, free: 4.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005767/0.1665, allocations: 279 kB / 478.3 MB, free: 4.465 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.1671, allocations: 90.48 kB / 478.4 MB, free: 4.383 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.1694, allocations: 1.387 MB / 479.8 MB, free: 2.965 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.1698, allocations: 354.1 kB / 480.2 MB, free: 2.594 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002481/0.1701, allocations: 92.31 kB / 480.3 MB, free: 2.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.1702, allocations: 36.48 kB / 480.3 MB, free: 2.465 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1702, allocations: 0 / 480.3 MB, free: 2.465 MB / 446.1 MB Notification: Performance of Templates: time 0.1993/0.3695, allocations: 7.715 MB / 488 MB, free: 70.65 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.881507537094876] Failed to read output from testmodel.py, exit status != 0: 0.37755253491923213 0.38679966200000004 0.257698506 Calling exit ...