Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.00134/0.00134, allocations: 80.75 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.0009391/0.0009391, allocations: 181 kB / 23.35 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.8974/0.8974, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.02558/0.02558, 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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 4 kB / 285.3 MB, free: 3.969 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156e-05/1.398e-05, allocations: 2.312 kB / 285.3 MB, free: 3.965 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.003506/0.00352, allocations: 3.657 MB / 288.9 MB, free: 288 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1058/0.1094, allocations: 1.962 MB / 290.9 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.1096, allocations: 9.562 kB / 290.9 MB, free: 19.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.11, allocations: 201.9 kB / 291.1 MB, free: 19.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005143/0.1105, allocations: 291.1 kB / 291.4 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.1111, allocations: 399.7 kB / 291.8 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.1126, allocations: 0.6461 MB / 292.4 MB, free: 18.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.1128, allocations: 162.1 kB / 292.6 MB, free: 18.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000388/0.1132, allocations: 370.9 kB / 293 MB, free: 18.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.1135, allocations: 230.9 kB / 293.2 MB, free: 18.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.855e-05/0.1136, allocations: 51.81 kB / 293.2 MB, free: 18.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.1138, allocations: 118 kB / 293.3 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.1139, allocations: 216.3 kB / 293.6 MB, free: 18.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.1141, allocations: 194.8 kB / 293.7 MB, free: 18.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005313/0.1146, allocations: 0.5727 MB / 294.3 MB, free: 18.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1146, allocations: 0 / 294.3 MB, free: 18.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1146, allocations: 0 / 294.3 MB, free: 18.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1146, allocations: 1.156 kB / 294.3 MB, free: 18.07 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.0009092/0.1155, allocations: 0.9695 MB / 295.3 MB, free: 17.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.1156, allocations: 8.938 kB / 295.3 MB, free: 17.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.1157, allocations: 78.47 kB / 295.4 MB, free: 17.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.116, allocations: 391.6 kB / 295.8 MB, free: 17.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.1161, allocations: 30.55 kB / 295.8 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.1161, allocations: 38.72 kB / 295.8 MB, free: 17.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.1165, allocations: 342.9 kB / 296.2 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.1165, allocations: 1.75 kB / 296.2 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.1165, allocations: 15.14 kB / 296.2 MB, free: 16.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1165, allocations: 9.375 kB / 296.2 MB, free: 16.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.1166, allocations: 96.19 kB / 296.3 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.1177, allocations: 1.032 MB / 297.3 MB, free: 16.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.1179, allocations: 145.3 kB / 297.5 MB, free: 16.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.118, allocations: 36.94 kB / 297.5 MB, free: 16.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.118, allocations: 9.406 kB / 297.5 MB, free: 16.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.1181, allocations: 103.9 kB / 297.6 MB, free: 16.13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 2.174e-06/0.1181, allocations: 3.531 kB / 297.6 MB, free: 16.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003462/0.1185, allocations: 192.4 kB / 297.8 MB, free: 16.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.1185, allocations: 80.95 kB / 297.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.119, allocations: 0.6079 MB / 298.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.119, allocations: 31.77 kB / 298.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.1191, allocations: 253.6 kB / 298.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.1191, allocations: 79.91 kB / 298.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-05/0.1192, allocations: 81.03 kB / 298.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.1193, allocations: 388.5 kB / 299.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.1193, allocations: 66.09 kB / 299.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.315e-05/0.1194, allocations: 163.8 kB / 299.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.1196, allocations: 191.7 kB / 299.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1196, allocations: 0 / 299.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002639/0.1198, allocations: 285 kB / 300 MB, free: 14.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.1199, allocations: 33.08 kB / 300 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1199, allocations: 6.156 kB / 300 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001047/0.12, allocations: 23 kB / 300 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.1201, allocations: 72.83 kB / 300.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003979/0.1205, allocations: 1.158 MB / 301.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.1207, allocations: 41.77 kB / 301.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.1207, allocations: 11.05 kB / 301.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001101/0.1208, allocations: 152.6 kB / 301.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.783e-05/0.1209, allocations: 158.9 kB / 301.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001375/0.121, allocations: 187.3 kB / 301.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.121, allocations: 0 / 301.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0002276/0.1212, allocations: 269.5 kB / 302.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1212, allocations: 33.67 kB / 302.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1212, allocations: 5.969 kB / 302.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.257e-05/0.1213, allocations: 24.25 kB / 302.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.1214, allocations: 75.17 kB / 302.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003152/0.1217, allocations: 1.16 MB / 303.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.1219, allocations: 39.62 kB / 303.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.1219, allocations: 16.12 kB / 303.4 MB, free: 11.65 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.841e-05/0.1219, allocations: 201.4 kB / 303.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.122, allocations: 40.84 kB / 303.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/0.1222, allocations: 181.3 kB / 303.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1222, allocations: 5.531 kB / 303.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.1222, allocations: 1.344 kB / 303.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1222, allocations: 0.6094 kB / 303.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.1224, allocations: 270.2 kB / 304.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1225, allocations: 1.219 kB / 304.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.1226, allocations: 44.27 kB / 304.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.992e-05/0.1226, allocations: 15.41 kB / 304.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1226, allocations: 7.672 kB / 304.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002983/0.1229, allocations: 1.154 MB / 305.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1229, allocations: 4.125 kB / 305.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.1232, allocations: 228.9 kB / 305.6 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.1232, allocations: 65.11 kB / 305.6 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.1232, allocations: 6.75 kB / 305.6 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/0.1233, allocations: 20.67 kB / 305.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.1234, allocations: 27 kB / 305.7 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1234, allocations: 10.69 kB / 305.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002349/0.1236, allocations: 303.2 kB / 306 MB, free: 9.785 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1236, allocations: 1.375 kB / 306 MB, free: 9.785 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003747/0.124, allocations: 218.7 kB / 306.2 MB, free: 9.727 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.001589/0.1256, allocations: 0.7914 MB / 307 MB, free: 9.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000453/0.126, allocations: 0.6311 MB / 307.6 MB, free: 9.039 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.954e-06/0.126, allocations: 7.281 kB / 307.6 MB, free: 9.039 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.1262, allocations: 179 kB / 307.8 MB, free: 8.906 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.1264, allocations: 92.77 kB / 307.9 MB, free: 8.863 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.1277, allocations: 1.073 MB / 309 MB, free: 8.148 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.6e-05/0.1278, allocations: 165.6 kB / 309.1 MB, free: 8.023 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.1279, allocations: 61.52 kB / 309.2 MB, free: 7.992 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.1281, allocations: 126.6 kB / 309.3 MB, free: 7.934 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1281, allocations: 0.9688 kB / 309.3 MB, free: 7.934 MB / 266.7 MB Notification: Performance of Templates: time 0.008318/0.1364, allocations: 7.395 MB / 316.7 MB, free: 1.277 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.629424609709531]