Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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.001713/0.001713, allocations: 106.9 kB / 16.4 MB, free: 6.449 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.001811/0.001811, allocations: 194.8 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.506/1.506, allocations: 222.9 MB / 245 MB, free: 15 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.04107/0.04107, allocations: 8.405 MB / 305.6 MB, free: 4.301 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.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 422.5 MB, free: 20.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1144, allocations: 51.37 MB / 473.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006445/0.1209, allocations: 3.824 MB / 477.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003456/0.1244, allocations: 1.717 MB / 479.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004408/0.1248, allocations: 11.94 kB / 479.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.1254, allocations: 202.9 kB / 479.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007361/0.1262, allocations: 234.7 kB / 479.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009508/0.1272, allocations: 368.9 kB / 480.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009037/0.1281, allocations: 0.6666 MB / 480.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006134/0.1287, allocations: 325.2 kB / 481.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004023/0.1291, allocations: 270.9 kB / 481.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004968/0.1297, allocations: 330.5 kB / 481.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.469e-05/0.1298, allocations: 64 kB / 481.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.1301, allocations: 120 kB / 482 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.1303, allocations: 231.2 kB / 482.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003828/0.1307, allocations: 369.8 kB / 482.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.1319, allocations: 0.9181 MB / 483.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.132, allocations: 0 / 483.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.132, allocations: 0 / 483.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.132, allocations: 4 kB / 483.5 MB, free: 7.469 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002189/0.1342, allocations: 1.153 MB / 484.6 MB, free: 6.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.1343, allocations: 15.89 kB / 484.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.1344, allocations: 92.33 kB / 484.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000928/0.1354, allocations: 0.6021 MB / 485.4 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/0.1354, allocations: 40.94 kB / 485.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.332e-05/0.1355, allocations: 52 kB / 485.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.1366, allocations: 483.8 kB / 485.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.1366, allocations: 3.953 kB / 485.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.1367, allocations: 16 kB / 485.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.1367, allocations: 15.94 kB / 486 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009233/0.1376, allocations: 359.7 kB / 486.3 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003071/0.1407, allocations: 1.851 MB / 488.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008846/0.1416, allocations: 342.7 kB / 488.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/0.142, allocations: 140.8 kB / 488.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.892e-05/0.1421, allocations: 7.984 kB / 488.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005173/0.1426, allocations: 191.3 kB / 488.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 3.246e-06/0.1426, allocations: 0 / 488.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002017/0.1446, allocations: 0.6518 MB / 489.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.1447, allocations: 55.41 kB / 489.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.1461, allocations: 0.926 MB / 490.5 MB, free: 252 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.1461, allocations: 37.7 kB / 490.5 MB, free: 208 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/0.1465, allocations: 372.5 kB / 490.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.769e-05/0.1466, allocations: 99.11 kB / 491 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.1468, allocations: 90.02 kB / 491 MB, free: 15.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.147, allocations: 378.8 kB / 491.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.1474, allocations: 136.8 kB / 491.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.1479, allocations: 211.1 kB / 491.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008245/0.1487, allocations: 368.2 kB / 492.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.1488, allocations: 7.938 kB / 492.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001292/0.1501, allocations: 0.5269 MB / 492.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.603e-05/0.1501, allocations: 29.7 kB / 492.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.1501, allocations: 4 kB / 492.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003319/0.1505, allocations: 64.75 kB / 492.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.1508, allocations: 71.89 kB / 492.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.153, allocations: 1.826 MB / 494.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/0.1534, allocations: 51.7 kB / 494.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.1535, allocations: 16 kB / 494.7 MB, free: 11.75 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: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * 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.0004693/0.1539, allocations: 278.1 kB / 495 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.96e-05/0.154, allocations: 63.58 kB / 495 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.1552, allocations: 445.4 kB / 495.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.1552, allocations: 4 kB / 495.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1552, allocations: 3.938 kB / 495.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1552, allocations: 0 / 495.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007137/0.1559, allocations: 0.5752 MB / 496.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.156, allocations: 4 kB / 496.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.1562, allocations: 43.91 kB / 496.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002205/0.1564, allocations: 60.81 kB / 496.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.1565, allocations: 4 kB / 496.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/0.1584, allocations: 1.818 MB / 498 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1584, allocations: 0 / 498 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.1599, allocations: 0.5882 MB / 498.6 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.1601, allocations: 160.7 kB / 498.7 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.062e-05/0.1602, allocations: 8 kB / 498.7 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.1604, allocations: 23.97 kB / 498.8 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.1605, allocations: 31.89 kB / 498.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.1606, allocations: 12 kB / 498.8 MB, free: 7.391 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008897/0.1615, allocations: 0.6591 MB / 499.5 MB, free: 6.738 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1615, allocations: 0 / 499.5 MB, free: 6.738 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006317/0.1621, allocations: 151.5 kB / 499.6 MB, free: 6.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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.002387/0.1645, allocations: 0.5982 MB / 0.4885 GB, free: 6.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.1659, allocations: 0.5099 MB / 0.489 GB, free: 5.715 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1659, allocations: 0 / 0.489 GB, free: 5.715 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006402/0.1666, allocations: 291.4 kB / 0.4893 GB, free: 5.418 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/0.1672, allocations: 101 kB / 0.4894 GB, free: 5.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.1699, allocations: 1.403 MB / 0.4907 GB, free: 3.891 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007075/0.1707, allocations: 0.9626 MB / 0.4917 GB, free: 2.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002488/0.1709, allocations: 76.34 kB / 0.4917 GB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.1711, allocations: 39.42 kB / 0.4918 GB, free: 2.793 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1711, allocations: 0 / 0.4918 GB, free: 2.793 MB / 366.1 MB Notification: Performance of Templates: time 0.01559/0.1867, allocations: 6.83 MB / 0.4984 GB, free: 11.98 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.202013940550387]