Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009581/0.0009581, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9947/0.9947, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.05364/0.05364, allocations: 6.493 MB / 266.8 MB, free: 6.492 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 285.3 MB, free: 3.918 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.174e-05, allocations: 2.312 kB / 285.3 MB, free: 3.914 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.004192/0.004214, allocations: 3.789 MB / 289.1 MB, free: 104 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1138/0.118, allocations: 1.995 MB / 291.1 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.1184, allocations: 15.08 kB / 291.1 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005235/0.1189, allocations: 208.3 kB / 291.3 MB, free: 19.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005789/0.1195, allocations: 294.6 kB / 291.6 MB, free: 19.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006974/0.1202, allocations: 411.8 kB / 292 MB, free: 18.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00065/0.1208, allocations: 0.6768 MB / 292.7 MB, free: 18.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002581/0.1211, allocations: 176.5 kB / 292.9 MB, free: 18.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000473/0.1215, allocations: 391.7 kB / 293.3 MB, free: 18.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003277/0.1219, allocations: 245.1 kB / 293.5 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.486e-05/0.1219, allocations: 56.94 kB / 293.5 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.1221, allocations: 117.1 kB / 293.7 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.1223, allocations: 223.8 kB / 293.9 MB, free: 18.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.1224, allocations: 209.1 kB / 294.1 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000589/0.123, allocations: 0.5908 MB / 294.7 MB, free: 17.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.123, allocations: 0 / 294.7 MB, free: 17.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.123, allocations: 0 / 294.7 MB, free: 17.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.123, allocations: 1.062 kB / 294.7 MB, free: 17.77 MB / 266.7 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.001031/0.1241, allocations: 1.005 MB / 295.7 MB, free: 17.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.1241, allocations: 9.656 kB / 295.7 MB, free: 17.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.1242, allocations: 82.06 kB / 295.8 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.1246, allocations: 396 kB / 296.2 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.1246, allocations: 38.75 kB / 296.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.1247, allocations: 44.19 kB / 296.2 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.1251, allocations: 364.7 kB / 296.6 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.1251, allocations: 5.578 kB / 296.6 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.1251, allocations: 16.89 kB / 296.6 MB, free: 16.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.1251, allocations: 9.781 kB / 296.6 MB, free: 16.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.1253, allocations: 102 kB / 296.7 MB, free: 16.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.1265, allocations: 1.082 MB / 297.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.1267, allocations: 162.5 kB / 298 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.1268, allocations: 40.55 kB / 298 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.1268, allocations: 11.77 kB / 298 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.1269, allocations: 108.5 kB / 298.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.453e-06/0.1269, allocations: 1.969 kB / 298.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005098/0.1274, allocations: 281.5 kB / 298.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.1275, allocations: 82.25 kB / 298.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.128, allocations: 0.6086 MB / 299.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.128, allocations: 31.8 kB / 299.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1281, allocations: 265.2 kB / 299.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.1281, allocations: 97.69 kB / 299.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.03e-05/0.1282, allocations: 82.5 kB / 299.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.455e-05/0.1283, allocations: 386.8 kB / 299.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-05/0.1284, allocations: 68.72 kB / 300 MB, free: 14.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.114e-05/0.1285, allocations: 167.5 kB / 300.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.1286, allocations: 199.4 kB / 300.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1286, allocations: 1.906 kB / 300.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003335/0.129, allocations: 312.6 kB / 300.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.129, allocations: 38.48 kB / 300.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.129, allocations: 1.469 kB / 300.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001702/0.1292, allocations: 56.61 kB / 300.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.1293, allocations: 73.53 kB / 300.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006653/0.13, allocations: 1.555 MB / 302.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.1301, allocations: 41.11 kB / 302.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.1301, allocations: 11.34 kB / 302.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001229/0.1303, allocations: 155.7 kB / 302.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.098e-05/0.1304, allocations: 170 kB / 302.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001324/0.1305, allocations: 193.2 kB / 302.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.1305, allocations: 4.562 kB / 303 MB, free: 12.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.00028/0.1308, allocations: 315.4 kB / 303.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1308, allocations: 34.5 kB / 303.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.1308, allocations: 1.344 kB / 303.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001215/0.1309, allocations: 59.53 kB / 303.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.131, allocations: 73.7 kB / 303.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005852/0.1316, allocations: 1.56 MB / 305 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.1318, allocations: 35.44 kB / 305 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.1318, allocations: 12.03 kB / 305 MB, free: 10.6 MB / 266.7 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 (iceP.tokgFuel.local_reset,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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 6.961e-05/0.1318, allocations: 204.3 kB / 305.2 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.1319, allocations: 47.67 kB / 305.3 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.1321, allocations: 229 kB / 305.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1321, allocations: 2.875 kB / 305.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.1321, allocations: 1.031 kB / 305.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.1322, allocations: 2.719 kB / 305.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.1326, allocations: 0.5154 MB / 306 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1326, allocations: 0 / 306 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.1328, allocations: 46.28 kB / 306.1 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/0.1329, allocations: 60.52 kB / 306.1 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1329, allocations: 8.875 kB / 306.1 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005687/0.1335, allocations: 1.573 MB / 307.7 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1335, allocations: 1.531 kB / 307.7 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.1338, allocations: 339.2 kB / 308 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.1338, allocations: 75.83 kB / 308.1 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.1338, allocations: 5.375 kB / 308.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.134, allocations: 19.14 kB / 308.1 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.134, allocations: 32.09 kB / 308.2 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.134, allocations: 6.562 kB / 308.2 MB, free: 8.051 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002253/0.1342, allocations: 287.7 kB / 308.5 MB, free: 7.934 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1342, allocations: 0 / 308.5 MB, free: 7.934 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004794/0.1347, allocations: 235.9 kB / 308.7 MB, free: 7.871 MB / 266.7 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.001564/0.1363, allocations: 0.7822 MB / 309.5 MB, free: 7.668 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005066/0.1368, allocations: 0.6778 MB / 310.1 MB, free: 7.121 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/0.1368, allocations: 7.25 kB / 310.2 MB, free: 7.121 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.1369, allocations: 195.2 kB / 310.3 MB, free: 6.969 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.1372, allocations: 102.9 kB / 310.4 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.1385, allocations: 1.113 MB / 311.6 MB, free: 6.176 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.563e-05/0.1386, allocations: 178.5 kB / 311.7 MB, free: 6.039 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.1387, allocations: 65.19 kB / 311.8 MB, free: 6.008 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.1389, allocations: 131.5 kB / 311.9 MB, free: 5.887 MB / 266.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1389, allocations: 0 / 311.9 MB, free: 5.887 MB / 266.7 MB Notification: Performance of Templates: time 0.009649/0.1485, allocations: 8.246 MB / 320.2 MB, free: 13.74 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8450261265970767]