Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.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.001788/0.001787, 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.001627/0.001627, 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.509/1.509, 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.06894/0.06894, allocations: 8.409 MB / 305.6 MB, free: 4.32 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.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 71.89 kB / 422.5 MB, free: 20.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1102, allocations: 51.36 MB / 473.9 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.006392/0.1167, allocations: 3.641 MB / 477.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003008/0.1197, allocations: 1.705 MB / 479.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003046/0.12, allocations: 11.94 kB / 479.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005062/0.1205, allocations: 194.9 kB / 479.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005571/0.1212, allocations: 226.8 kB / 479.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.1222, allocations: 392.8 kB / 480 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008961/0.1231, allocations: 0.6198 MB / 480.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004582/0.1236, allocations: 230.6 kB / 480.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003253/0.1239, allocations: 239 kB / 481.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004868/0.1245, allocations: 298.7 kB / 481.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.967e-05/0.1246, allocations: 56 kB / 481.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.1248, allocations: 143.8 kB / 481.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.1251, allocations: 211.3 kB / 481.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003384/0.1254, allocations: 330.1 kB / 482.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.1266, allocations: 0.8754 MB / 483 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.1266, allocations: 4 kB / 483 MB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1266, allocations: 0 / 483 MB, free: 7.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.1267, allocations: 0 / 483 MB, free: 7.988 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001908/0.1286, allocations: 1.092 MB / 484.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1286, allocations: 19.89 kB / 484.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.1288, allocations: 88.36 kB / 484.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008497/0.1296, allocations: 0.5905 MB / 484.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.1297, allocations: 29.12 kB / 484.8 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-05/0.1298, allocations: 43.95 kB / 484.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/0.1307, allocations: 426.4 kB / 485.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.1307, allocations: 4 kB / 485.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.1308, allocations: 16 kB / 485.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1308, allocations: 8 kB / 485.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000837/0.1316, allocations: 311.7 kB / 485.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/0.1343, allocations: 1.699 MB / 487.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009535/0.1352, allocations: 322.8 kB / 487.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/0.1356, allocations: 124.8 kB / 487.8 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/0.1356, allocations: 4 kB / 487.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004734/0.1361, allocations: 187.1 kB / 487.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.813e-06/0.1361, allocations: 4 kB / 487.9 MB, free: 2.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001537/0.1377, allocations: 0.5367 MB / 488.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.624e-05/0.1378, allocations: 140.5 kB / 488.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.139, allocations: 0.93 MB / 489.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.1391, allocations: 29.7 kB / 489.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/0.1394, allocations: 352.3 kB / 489.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.314e-05/0.1395, allocations: 83.28 kB / 490 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.1397, allocations: 73.64 kB / 490.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.1399, allocations: 382.8 kB / 490.4 MB, free: 236 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003994/0.1403, allocations: 148.7 kB / 490.6 MB, free: 84 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.1408, allocations: 217.3 kB / 490.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008024/0.1416, allocations: 348.5 kB / 491.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1416, allocations: 0 / 491.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001113/0.1427, allocations: 495.2 kB / 491.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/0.1428, allocations: 37.69 kB / 491.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.1428, allocations: 8.156 kB / 491.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001755/0.143, allocations: 24.84 kB / 491.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.1433, allocations: 79.89 kB / 491.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.1447, allocations: 1.371 MB / 493.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.1451, allocations: 55.73 kB / 493.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.1451, allocations: 12 kB / 493.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006061/0.1457, allocations: 344.9 kB / 493.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004239/0.1462, allocations: 205.2 kB / 493.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006831/0.1469, allocations: 335.9 kB / 494.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.717e-06/0.1469, allocations: 0 / 494.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001008/0.1479, allocations: 490.8 kB / 494.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.1479, allocations: 29.7 kB / 494.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.148, allocations: 4 kB / 494.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.463e-05/0.148, allocations: 28.78 kB / 494.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.1483, allocations: 67.89 kB / 494.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.1495, allocations: 1.375 MB / 496.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.1498, allocations: 55.94 kB / 496.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.1498, allocations: 8 kB / 496.1 MB, free: 10.09 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 (42): * Single equations (assignments): 40 * 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.0002011/0.1501, allocations: 206.9 kB / 496.3 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.701e-05/0.1502, allocations: 67.52 kB / 496.4 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009922/0.1512, allocations: 376.2 kB / 496.8 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1512, allocations: 4 kB / 496.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.1512, allocations: 0 / 496.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1512, allocations: 0 / 496.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006232/0.1518, allocations: 0.544 MB / 497.3 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1518, allocations: 0 / 497.3 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.1521, allocations: 47.95 kB / 497.3 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.709e-05/0.1522, allocations: 28.84 kB / 497.4 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.1523, allocations: 7.938 kB / 497.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.1533, allocations: 1.371 MB / 498.8 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1533, allocations: 0 / 498.8 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.1546, allocations: 0.524 MB / 499.3 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.1548, allocations: 156.6 kB / 499.4 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.346e-05/0.1549, allocations: 11.94 kB / 499.4 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.1551, allocations: 23.97 kB / 499.5 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.864e-05/0.1552, allocations: 27.97 kB / 499.5 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.1553, allocations: 7.984 kB / 499.5 MB, free: 6.453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008434/0.1561, allocations: 0.6709 MB / 0.4885 GB, free: 5.785 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1561, allocations: 0 / 0.4885 GB, free: 5.785 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006691/0.1568, allocations: 231.4 kB / 0.4887 GB, free: 5.559 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 (23): * Single equations (assignments): 20 * 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.002375/0.1592, allocations: 0.6337 MB / 0.4893 GB, free: 5.195 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.1609, allocations: 0.824 MB / 0.4901 GB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.161, allocations: 0 / 0.4901 GB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005256/0.1615, allocations: 259.1 kB / 0.4903 GB, free: 4.055 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.1621, allocations: 88.86 kB / 0.4904 GB, free: 3.973 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.1643, allocations: 1.339 MB / 0.4917 GB, free: 2.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006189/0.165, allocations: 0.9317 MB / 0.4926 GB, free: 1.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002621/0.1652, allocations: 96.14 kB / 0.4927 GB, free: 1.547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.1653, allocations: 39.44 kB / 0.4928 GB, free: 1.508 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1653, allocations: 0 / 0.4928 GB, free: 1.508 MB / 366.1 MB Notification: Performance of Templates: time 0.01489/0.1802, allocations: 7.156 MB / 0.4998 GB, free: 10.38 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.257824970409274]