Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 106.4 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 198.7 kB / 19.36 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04243/0.04243, allocations: 8.424 MB / 305.6 MB, free: 4.297 MB / 238.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.89 kB / 422.5 MB, free: 20.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1122, allocations: 51.36 MB / 473.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.006113/0.1183, allocations: 3.768 MB / 477.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003184/0.1215, allocations: 1.748 MB / 479.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003178/0.1219, allocations: 11.94 kB / 479.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005471/0.1224, allocations: 191 kB / 479.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006091/0.1231, allocations: 234.7 kB / 479.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.1241, allocations: 409.6 kB / 480.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007912/0.1249, allocations: 0.6588 MB / 480.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004067/0.1253, allocations: 235.8 kB / 481.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.1257, allocations: 263 kB / 481.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004712/0.1262, allocations: 310.7 kB / 481.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.963e-05/0.1263, allocations: 52 kB / 481.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.1265, allocations: 123.9 kB / 481.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.1268, allocations: 215.3 kB / 482.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003258/0.1271, allocations: 346 kB / 482.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.1282, allocations: 0.8831 MB / 483.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1282, allocations: 0 / 483.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1282, allocations: 0 / 483.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.1282, allocations: 0 / 483.3 MB, free: 7.703 MB / 350.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.001871/0.1301, allocations: 1.126 MB / 484.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1301, allocations: 11.89 kB / 484.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.1303, allocations: 88.38 kB / 484.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008684/0.1312, allocations: 0.5982 MB / 485.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.1312, allocations: 41.06 kB / 485.1 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.797e-05/0.1313, allocations: 43.98 kB / 485.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000918/0.1322, allocations: 448.7 kB / 485.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.1323, allocations: 0 / 485.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.1323, allocations: 16 kB / 485.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.1323, allocations: 12 kB / 485.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008542/0.1332, allocations: 335.7 kB / 486 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002802/0.136, allocations: 1.762 MB / 487.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.137, allocations: 436.8 kB / 488.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.1374, allocations: 140.8 kB / 488.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.1375, allocations: 4 kB / 488.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004903/0.138, allocations: 193.1 kB / 488.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.424e-06/0.138, allocations: 0 / 488.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001928/0.1399, allocations: 0.6517 MB / 489.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.14, allocations: 81.11 kB / 489.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.1416, allocations: 0.9222 MB / 490.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.34e-05/0.1416, allocations: 33.8 kB / 490.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/0.142, allocations: 360.5 kB / 490.5 MB, free: 156 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.1421, allocations: 91.22 kB / 490.6 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.1423, allocations: 82.02 kB / 490.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003092/0.1426, allocations: 386.7 kB / 491.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004427/0.1431, allocations: 142.3 kB / 491.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/0.1436, allocations: 219.2 kB / 491.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008035/0.1444, allocations: 362.3 kB / 491.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1444, allocations: 0 / 491.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001329/0.1457, allocations: 0.5472 MB / 492.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.707e-05/0.1458, allocations: 36.58 kB / 492.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1458, allocations: 4 kB / 492.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003065/0.1461, allocations: 56.81 kB / 492.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.1465, allocations: 79.89 kB / 492.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.1485, allocations: 1.822 MB / 494.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/0.149, allocations: 51.73 kB / 494.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.149, allocations: 16 kB / 494.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006981/0.1497, allocations: 340.8 kB / 494.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003983/0.1501, allocations: 211 kB / 494.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007449/0.1509, allocations: 344.5 kB / 495.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.027e-06/0.1509, allocations: 4 kB / 495.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001175/0.1521, allocations: 0.511 MB / 495.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/0.1521, allocations: 29.7 kB / 495.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1521, allocations: 4 kB / 495.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002232/0.1524, allocations: 65.03 kB / 495.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.1526, allocations: 67.89 kB / 495.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.1546, allocations: 1.818 MB / 497.8 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.1549, allocations: 39.81 kB / 497.8 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.155, allocations: 20.06 kB / 497.8 MB, free: 8.391 MB / 366.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.0002154/0.1552, allocations: 212.6 kB / 498 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.443e-05/0.1553, allocations: 63.58 kB / 498.1 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.1564, allocations: 425.6 kB / 498.5 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1565, allocations: 4 kB / 498.5 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.1565, allocations: 0 / 498.5 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.1565, allocations: 3.984 kB / 498.5 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.1583, allocations: 1.038 MB / 499.6 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1584, allocations: 0 / 499.6 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.1587, allocations: 51.89 kB / 499.6 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/0.1589, allocations: 68.75 kB / 499.7 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.1589, allocations: 4 kB / 499.7 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.161, allocations: 1.803 MB / 0.4897 GB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.161, allocations: 3.938 kB / 0.4897 GB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.1626, allocations: 0.645 MB / 0.4904 GB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.1629, allocations: 160.7 kB / 0.4905 GB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.283e-05/0.163, allocations: 15.98 kB / 0.4905 GB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.1633, allocations: 23.97 kB / 0.4906 GB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.1634, allocations: 23.97 kB / 0.4906 GB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.1634, allocations: 4 kB / 0.4906 GB, free: 3.602 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001133/0.1646, allocations: 0.6708 MB / 0.4912 GB, free: 2.938 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.074e-06/0.1646, allocations: 0 / 0.4912 GB, free: 2.938 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001031/0.1656, allocations: 239.3 kB / 0.4915 GB, free: 2.703 MB / 366.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.002472/0.1681, allocations: 0.6 MB / 0.492 GB, free: 2.363 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002232/0.1704, allocations: 0.8797 MB / 0.4929 GB, free: 1.434 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/0.1704, allocations: 0 / 0.4929 GB, free: 1.434 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000671/0.1711, allocations: 287 kB / 0.4932 GB, free: 1.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008532/0.1719, allocations: 93.53 kB / 0.4933 GB, free: 1.051 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/0.1754, allocations: 1.372 MB / 0.4946 GB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000895/0.1763, allocations: 0.948 MB / 0.4955 GB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003452/0.1767, allocations: 84.33 kB / 0.4956 GB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.1768, allocations: 43.42 kB / 0.4957 GB, free: 14.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.343e-06/0.1769, allocations: 3.938 kB / 0.4957 GB, free: 14.54 MB / 382.1 MB Notification: Performance of Templates: time 0.01816/0.195, allocations: 7.67 MB / 0.5032 GB, free: 6.887 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.125106611289084]