Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007578/0.007579, allocations: 99.81 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 195.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04037/0.04037, allocations: 8.321 MB / 298.8 MB, free: 6.512 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 67.89 kB / 413.5 MB, free: 21.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1176, allocations: 51.25 MB / 464.8 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceT01): time 0.005375/0.123, allocations: 3.352 MB / 468.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002622/0.1257, allocations: 1.608 MB / 469.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.1259, allocations: 11.94 kB / 469.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005487/0.1264, allocations: 326.8 kB / 470 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004496/0.1269, allocations: 254.9 kB / 470.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007537/0.1277, allocations: 388.4 kB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005495/0.1283, allocations: 0.5148 MB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.1285, allocations: 157 kB / 471.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.1288, allocations: 235.2 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004079/0.1292, allocations: 319 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.734e-05/0.1293, allocations: 40 kB / 471.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.1295, allocations: 115.9 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.1297, allocations: 211.3 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.1299, allocations: 317.9 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008149/0.1308, allocations: 0.8013 MB / 473.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1308, allocations: 0 / 473.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1308, allocations: 0 / 473.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.1308, allocations: 0 / 473.4 MB, free: 9.961 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001549/0.1324, allocations: 1.11 MB / 474.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1324, allocations: 8.031 kB / 474.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.1325, allocations: 88.38 kB / 474.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007498/0.1333, allocations: 0.5748 MB / 475.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.1334, allocations: 32.5 kB / 475.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/0.1334, allocations: 28 kB / 475.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.1341, allocations: 363.8 kB / 475.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.1341, allocations: 0 / 475.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.1342, allocations: 16 kB / 475.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.1342, allocations: 8 kB / 475.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006555/0.1349, allocations: 246 kB / 475.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.1369, allocations: 1.502 MB / 477.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007497/0.1376, allocations: 273.3 kB / 477.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.1379, allocations: 100.8 kB / 477.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.138, allocations: 0 / 477.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004468/0.1384, allocations: 179.1 kB / 477.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.1384, allocations: 0 / 477.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001238/0.1397, allocations: 0.4976 MB / 478.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.1398, allocations: 132.5 kB / 478.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.1409, allocations: 1.126 MB / 479.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.141, allocations: 29.7 kB / 479.6 MB, free: 3.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.1413, allocations: 364.5 kB / 480 MB, free: 3.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.712e-05/0.1413, allocations: 67.42 kB / 480.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.044e-05/0.1414, allocations: 49.94 kB / 480.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1416, allocations: 326 kB / 480.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.1419, allocations: 113.4 kB / 480.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.1422, allocations: 185.8 kB / 480.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006146/0.1428, allocations: 291.5 kB / 481 MB, free: 1.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1429, allocations: 4 kB / 481 MB, free: 1.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008652/0.1437, allocations: 407.6 kB / 481.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/0.1438, allocations: 40.05 kB / 481.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1438, allocations: 3.938 kB / 481.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.144, allocations: 24.84 kB / 481.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.1442, allocations: 51.95 kB / 481.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.1453, allocations: 1.39 MB / 482.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.1456, allocations: 43.8 kB / 482.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.1457, allocations: 16.06 kB / 483 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004921/0.1462, allocations: 324.2 kB / 483.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000314/0.1465, allocations: 173.8 kB / 483.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00052/0.147, allocations: 268.3 kB / 483.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.147, allocations: 4 kB / 483.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.000769/0.1478, allocations: 394.3 kB / 484.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.1479, allocations: 29.7 kB / 484.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.1479, allocations: 4 kB / 484.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.551e-05/0.1479, allocations: 24.84 kB / 484.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.1481, allocations: 51.91 kB / 484.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009088/0.1491, allocations: 1.386 MB / 485.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.1493, allocations: 39.89 kB / 485.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.1494, allocations: 12 kB / 485.6 MB, free: 12.89 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,iceT.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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.0001405/0.1495, allocations: 193.1 kB / 485.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/0.1496, allocations: 79.41 kB / 485.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008189/0.1504, allocations: 340.8 kB / 486.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1504, allocations: 4.047 kB / 486.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1504, allocations: 3.984 kB / 486.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/0.1505, allocations: 3.984 kB / 486.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.151, allocations: 0.5088 MB / 486.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.151, allocations: 3.984 kB / 486.8 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.1512, allocations: 55.84 kB / 486.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.264e-05/0.1513, allocations: 16.84 kB / 486.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.1514, allocations: 8 kB / 486.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009016/0.1523, allocations: 1.375 MB / 488.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1523, allocations: 0 / 488.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.1533, allocations: 475.5 kB / 488.7 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.1535, allocations: 160.7 kB / 488.8 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.834e-05/0.1535, allocations: 4 kB / 488.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.1538, allocations: 31.91 kB / 488.9 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.1538, allocations: 19.97 kB / 488.9 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.1539, allocations: 8 kB / 488.9 MB, free: 9.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008591/0.1547, allocations: 0.827 MB / 489.7 MB, free: 8.551 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1547, allocations: 0 / 489.7 MB, free: 8.551 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005955/0.1553, allocations: 199.6 kB / 489.9 MB, free: 8.355 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceT.inertia.w,iceT.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 (18): * Single equations (assignments): 15 * 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.001495/0.1568, allocations: 0.6394 MB / 490.6 MB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.1583, allocations: 0.7124 MB / 491.3 MB, free: 7.227 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.1583, allocations: 4 kB / 491.3 MB, free: 7.223 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004375/0.1588, allocations: 234.7 kB / 491.5 MB, free: 6.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.1593, allocations: 85.33 kB / 491.6 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.1616, allocations: 1.44 MB / 493 MB, free: 5.426 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/0.1622, allocations: 0.9453 MB / 494 MB, free: 4.453 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002102/0.1624, allocations: 87.25 kB / 494.1 MB, free: 4.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.944e-05/0.1625, allocations: 39.42 kB / 494.1 MB, free: 4.328 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1625, allocations: 0 / 494.1 MB, free: 4.328 MB / 366.1 MB Notification: Performance of Templates: time 0.01504/0.1776, allocations: 6.898 MB / 0.4893 GB, free: 13.45 MB / 382.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.pipe 2>&1)