Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.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.0008678/0.0008678, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009331/0.0009331, allocations: 181 kB / 23.36 MB, free: 1.133 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.9055/0.9055, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.02538/0.02538, allocations: 6.49 MB / 266.8 MB, free: 6.512 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 285.3 MB, free: 4.004 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.724e-05, allocations: 2.312 kB / 285.3 MB, free: 4 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.003885/0.003903, allocations: 3.661 MB / 288.9 MB, free: 320 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1102/0.1141, allocations: 1.961 MB / 290.9 MB, free: 18.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.1143, allocations: 10.31 kB / 290.9 MB, free: 18.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.1147, allocations: 207.2 kB / 291.1 MB, free: 18.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005347/0.1153, allocations: 289.8 kB / 291.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.1159, allocations: 395.5 kB / 291.8 MB, free: 18.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005439/0.1164, allocations: 0.65 MB / 292.4 MB, free: 18.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.1166, allocations: 161.1 kB / 292.6 MB, free: 18.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/0.117, allocations: 362.9 kB / 292.9 MB, free: 18.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002786/0.1173, allocations: 233 kB / 293.2 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.1174, allocations: 52.66 kB / 293.2 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.1175, allocations: 120.6 kB / 293.3 MB, free: 18.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.1177, allocations: 218.2 kB / 293.5 MB, free: 18.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.1178, allocations: 193.9 kB / 293.7 MB, free: 18.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.1183, allocations: 0.5669 MB / 294.3 MB, free: 17.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1183, allocations: 0 / 294.3 MB, free: 17.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1183, allocations: 0 / 294.3 MB, free: 17.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1183, allocations: 1.156 kB / 294.3 MB, free: 17.9 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0008964/0.1192, allocations: 0.9717 MB / 295.3 MB, free: 17.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.1193, allocations: 10.52 kB / 295.3 MB, free: 17.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.1194, allocations: 78.41 kB / 295.4 MB, free: 17.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.1197, allocations: 391.6 kB / 295.7 MB, free: 16.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.1198, allocations: 30.05 kB / 295.8 MB, free: 16.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.1198, allocations: 41.5 kB / 295.8 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.1201, allocations: 340.8 kB / 296.1 MB, free: 16.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1202, allocations: 1.219 kB / 296.1 MB, free: 16.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.1202, allocations: 18.25 kB / 296.2 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.1202, allocations: 8.281 kB / 296.2 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.1203, allocations: 92.03 kB / 296.3 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.1214, allocations: 1.035 MB / 297.3 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.1216, allocations: 150.5 kB / 297.4 MB, free: 16.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.1216, allocations: 32.8 kB / 297.5 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1217, allocations: 9.531 kB / 297.5 MB, free: 16.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.1218, allocations: 105.3 kB / 297.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/0.1218, allocations: 0 / 297.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003441/0.1221, allocations: 196.8 kB / 297.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.1222, allocations: 81.97 kB / 297.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000445/0.1226, allocations: 0.606 MB / 298.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.1226, allocations: 31.7 kB / 298.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.1227, allocations: 253.7 kB / 298.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.1228, allocations: 80.56 kB / 298.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.101e-05/0.1229, allocations: 84.42 kB / 298.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.773e-05/0.1229, allocations: 381.5 kB / 299.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.295e-05/0.123, allocations: 65.61 kB / 299.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.669e-05/0.1231, allocations: 169.2 kB / 299.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.1232, allocations: 191.4 kB / 299.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1232, allocations: 0.9688 kB / 299.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002659/0.1235, allocations: 276 kB / 300 MB, free: 14.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.1235, allocations: 37.77 kB / 300 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1235, allocations: 5.031 kB / 300 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.341e-05/0.1236, allocations: 18.2 kB / 300 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.1238, allocations: 74.3 kB / 300.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003828/0.1242, allocations: 1.16 MB / 301.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.1243, allocations: 40.95 kB / 301.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.1243, allocations: 12.44 kB / 301.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001098/0.1244, allocations: 155.7 kB / 301.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.964e-05/0.1245, allocations: 160.4 kB / 301.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001339/0.1246, allocations: 186.5 kB / 301.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.1246, allocations: 0.5469 kB / 301.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0002459/0.1249, allocations: 274.2 kB / 302.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1249, allocations: 33.53 kB / 302.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.1249, allocations: 5.828 kB / 302.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.136e-05/0.1249, allocations: 17.98 kB / 302.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1251, allocations: 75.89 kB / 302.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003033/0.1254, allocations: 1.165 MB / 303.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.1255, allocations: 38.22 kB / 303.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.1255, allocations: 11.28 kB / 303.4 MB, free: 11.48 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 (iceT.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 (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 6.592e-05/0.1256, allocations: 199.8 kB / 303.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.1256, allocations: 43.31 kB / 303.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.1258, allocations: 182 kB / 303.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1258, allocations: 3.562 kB / 303.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.1258, allocations: 64 / 303.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1258, allocations: 6.156 kB / 303.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.126, allocations: 268.8 kB / 304.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.126, allocations: 1.375 kB / 304.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.1262, allocations: 37.48 kB / 304.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.241e-05/0.1262, allocations: 16.3 kB / 304.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1262, allocations: 9.984 kB / 304.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002898/0.1265, allocations: 1.154 MB / 305.3 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1265, allocations: 1.375 kB / 305.3 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.1267, allocations: 230.1 kB / 305.5 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.1268, allocations: 67.55 kB / 305.6 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.1268, allocations: 6.75 kB / 305.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.519e-05/0.1269, allocations: 19.03 kB / 305.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.127, allocations: 25.8 kB / 305.7 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.127, allocations: 8.344 kB / 305.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002428/0.1272, allocations: 305.3 kB / 306 MB, free: 9.621 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1272, allocations: 0 / 306 MB, free: 9.621 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003463/0.1276, allocations: 216.1 kB / 306.2 MB, free: 9.566 MB / 266.7 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 (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.001603/0.1292, allocations: 0.7973 MB / 307 MB, free: 9.355 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.1296, allocations: 0.6314 MB / 307.6 MB, free: 8.875 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.006e-06/0.1296, allocations: 6.594 kB / 307.6 MB, free: 8.875 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.1297, allocations: 176.8 kB / 307.8 MB, free: 8.746 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.1299, allocations: 97.09 kB / 307.9 MB, free: 8.715 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.1311, allocations: 1.08 MB / 309 MB, free: 8.012 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.749e-05/0.1312, allocations: 162.4 kB / 309.1 MB, free: 7.891 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.1314, allocations: 60.7 kB / 309.2 MB, free: 7.859 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.1315, allocations: 131 kB / 309.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.1315, allocations: 0 / 309.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of Templates: time 0.008271/0.1398, allocations: 7.395 MB / 316.7 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.705072750337422]