Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.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.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008345/0.008345, allocations: 100 kB / 15.73 MB, free: 6.008 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.001543/0.001543, allocations: 193.3 kB / 16.67 MB, free: 5.926 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04164/0.04164, allocations: 8.332 MB / 298.9 MB, free: 6.504 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.89 kB / 413.5 MB, free: 21.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1147, allocations: 51.26 MB / 464.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceT): time 0.005629/0.1203, allocations: 3.311 MB / 468.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003169/0.1235, allocations: 1.616 MB / 469.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002989/0.1239, allocations: 7.938 kB / 469.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006688/0.1246, allocations: 318.9 kB / 470 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00055/0.1252, allocations: 258.9 kB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009002/0.1261, allocations: 384.4 kB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005905/0.1267, allocations: 0.5147 MB / 471.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002989/0.127, allocations: 161 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002964/0.1273, allocations: 231.2 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004415/0.1277, allocations: 311 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.535e-05/0.1278, allocations: 40 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.128, allocations: 91.98 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.1282, allocations: 207.3 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.1285, allocations: 302 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008874/0.1294, allocations: 0.7701 MB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1294, allocations: 4 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1294, allocations: 0 / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1294, allocations: 0 / 473.2 MB, free: 10.08 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001874/0.1313, allocations: 1.107 MB / 474.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.1314, allocations: 8.031 kB / 474.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.1315, allocations: 92.36 kB / 474.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009746/0.1325, allocations: 0.5787 MB / 475 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.1326, allocations: 24.69 kB / 475 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.243e-05/0.1326, allocations: 31.95 kB / 475.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000733/0.1334, allocations: 342.2 kB / 475.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.1334, allocations: 11.94 kB / 475.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.1335, allocations: 12 kB / 475.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.1335, allocations: 4 kB / 475.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000702/0.1342, allocations: 246.1 kB / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.1365, allocations: 1.494 MB / 477.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008659/0.1374, allocations: 273.2 kB / 477.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.1377, allocations: 100.8 kB / 477.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.835e-05/0.1378, allocations: 4 kB / 477.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004501/0.1382, allocations: 163.3 kB / 477.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.084e-06/0.1382, allocations: 0 / 477.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001469/0.1397, allocations: 0.4976 MB / 478.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.1398, allocations: 85.05 kB / 478.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.1412, allocations: 1.118 MB / 479.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.1412, allocations: 29.7 kB / 479.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.1416, allocations: 360.5 kB / 479.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.419e-05/0.1417, allocations: 67.42 kB / 479.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.1418, allocations: 61.89 kB / 479.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1419, allocations: 318 kB / 480.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.1423, allocations: 105.5 kB / 480.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.1426, allocations: 172 kB / 480.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006299/0.1433, allocations: 284.3 kB / 480.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1433, allocations: 0 / 480.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008812/0.1442, allocations: 414.6 kB / 481.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.1442, allocations: 37.91 kB / 481.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1442, allocations: 8 kB / 481.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.1444, allocations: 16.86 kB / 481.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.1447, allocations: 59.89 kB / 481.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.146, allocations: 1.386 MB / 482.7 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.1463, allocations: 35.86 kB / 482.7 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.1463, allocations: 8 kB / 482.7 MB, free: 72 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005796/0.1469, allocations: 336.3 kB / 483 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003139/0.1473, allocations: 156.1 kB / 483.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005435/0.1478, allocations: 268.4 kB / 483.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/0.1478, allocations: 3.938 kB / 483.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007747/0.1486, allocations: 398.6 kB / 483.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.1487, allocations: 37.64 kB / 483.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1487, allocations: 0 / 483.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.253e-05/0.1488, allocations: 28.78 kB / 483.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.149, allocations: 51.95 kB / 484 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.15, allocations: 1.383 MB / 485.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.1503, allocations: 39.97 kB / 485.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1503, allocations: 8 kB / 485.4 MB, free: 13.17 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.0001655/0.1505, allocations: 201 kB / 485.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.547e-05/0.1506, allocations: 75.52 kB / 485.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008626/0.1515, allocations: 344.7 kB / 486 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1515, allocations: 4 kB / 486 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1515, allocations: 0 / 486 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1515, allocations: 7.922 kB / 486 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.152, allocations: 0.5011 MB / 486.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.152, allocations: 0 / 486.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.1523, allocations: 43.89 kB / 486.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.681e-05/0.1524, allocations: 24.86 kB / 486.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.1524, allocations: 7.984 kB / 486.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008764/0.1533, allocations: 1.371 MB / 488 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.1533, allocations: 3.938 kB / 488 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.1544, allocations: 467.6 kB / 488.4 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.1545, allocations: 160.6 kB / 488.6 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.371e-05/0.1546, allocations: 15.98 kB / 488.6 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.1548, allocations: 23.97 kB / 488.6 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.126e-05/0.1549, allocations: 23.97 kB / 488.6 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1549, allocations: 7.938 kB / 488.6 MB, free: 9.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008902/0.1558, allocations: 0.8153 MB / 489.5 MB, free: 8.852 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1559, allocations: 0 / 489.5 MB, free: 8.852 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006262/0.1565, allocations: 191.6 kB / 489.6 MB, free: 8.664 MB / 366.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 (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.001571/0.1581, allocations: 0.5914 MB / 490.2 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.1596, allocations: 0.7036 MB / 490.9 MB, free: 7.574 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.1596, allocations: 0 / 490.9 MB, free: 7.574 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004529/0.16, allocations: 230.5 kB / 491.2 MB, free: 7.336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/0.1605, allocations: 106.8 kB / 491.3 MB, free: 7.234 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.163, allocations: 1.435 MB / 492.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.1635, allocations: 0.9492 MB / 493.7 MB, free: 4.793 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.1637, allocations: 79.27 kB / 493.7 MB, free: 4.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.661e-05/0.1638, allocations: 31.44 kB / 493.8 MB, free: 4.684 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1638, allocations: 0 / 493.8 MB, free: 4.684 MB / 366.1 MB Notification: Performance of Templates: time 0.01267/0.1765, allocations: 6.479 MB / 0.4885 GB, free: 14.23 MB / 382.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.pipe 2>&1)