Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.0009537/0.0009537, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009125/0.0009125, allocations: 173 kB / 23.49 MB, free: 1.055 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 1.03/1.03, allocations: 177.1 MB / 203.8 MB, free: 5.664 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.02543/0.02543, allocations: 6.475 MB / 266.8 MB, free: 6.727 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.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 338.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.293e-05, allocations: 6.312 kB / 338.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.004751/0.004774, allocations: 3.804 MB / 341.9 MB, free: 7.312 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.007125, allocations: 1.959 MB / 343.8 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002663/0.007391, allocations: 15.88 kB / 343.9 MB, free: 5.332 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.007838, allocations: 210.7 kB / 344.1 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006213/0.008459, allocations: 294.3 kB / 344.4 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007754/0.009235, allocations: 407.1 kB / 344.8 MB, free: 4.438 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006844/0.009919, allocations: 0.6859 MB / 345.4 MB, free: 3.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003022/0.01022, allocations: 168.2 kB / 345.6 MB, free: 3.578 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004829/0.0107, allocations: 395 kB / 346 MB, free: 3.191 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.01104, allocations: 259.2 kB / 346.2 MB, free: 2.938 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.798e-05/0.0111, allocations: 56 kB / 346.3 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.01128, allocations: 119.8 kB / 346.4 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.01144, allocations: 223.3 kB / 346.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.01161, allocations: 207.3 kB / 346.8 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006411/0.01225, allocations: 0.5915 MB / 347.4 MB, free: 1.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.01225, allocations: 0 / 347.4 MB, free: 1.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.01226, allocations: 0 / 347.4 MB, free: 1.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.01226, allocations: 0 / 347.4 MB, free: 1.75 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.001321/0.01358, allocations: 1.154 MB / 348.6 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.01362, allocations: 8.031 kB / 348.6 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.01378, allocations: 120.4 kB / 348.7 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000621/0.01441, allocations: 488.9 kB / 349.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/0.01445, allocations: 33.38 kB / 349.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.297e-05/0.01452, allocations: 44.38 kB / 349.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/0.01516, allocations: 389.3 kB / 349.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.01518, allocations: 8 kB / 349.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/0.01522, allocations: 16 kB / 349.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.01523, allocations: 15.92 kB / 349.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.01558, allocations: 141.8 kB / 349.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.0172, allocations: 1.619 MB / 351.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.01755, allocations: 196.5 kB / 351.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.984e-05/0.01764, allocations: 55.66 kB / 351.7 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.01767, allocations: 12 kB / 351.7 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.01787, allocations: 123.5 kB / 351.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 2.976e-06/0.01787, allocations: 3.984 kB / 351.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.000685/0.01856, allocations: 372.8 kB / 352.2 MB, free: 12.78 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.0186, allocations: 81.11 kB / 352.3 MB, free: 12.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005716/0.01917, allocations: 0.7104 MB / 353 MB, free: 11.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.0192, allocations: 37.7 kB / 353 MB, free: 11.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.01944, allocations: 435.2 kB / 353.4 MB, free: 11.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.01956, allocations: 91.22 kB / 353.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.769e-05/0.01965, allocations: 83.67 kB / 353.6 MB, free: 11.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.01984, allocations: 0.5665 MB / 354.2 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.01996, allocations: 94.97 kB / 354.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.02011, allocations: 208.6 kB / 354.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.02034, allocations: 244.9 kB / 354.7 MB, free: 10.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.02035, allocations: 0 / 354.7 MB, free: 10.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005061/0.02085, allocations: 421.2 kB / 355.1 MB, free: 9.652 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.02089, allocations: 41.69 kB / 355.2 MB, free: 9.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.02089, allocations: 3.938 kB / 355.2 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.0211, allocations: 59.86 kB / 355.2 MB, free: 9.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.02126, allocations: 75.91 kB / 355.3 MB, free: 9.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.02249, allocations: 2.13 MB / 357.4 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.02266, allocations: 43.77 kB / 357.5 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.02268, allocations: 16 kB / 357.5 MB, free: 7.156 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001905/0.02287, allocations: 217.4 kB / 357.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001559/0.02303, allocations: 212.6 kB / 357.9 MB, free: 6.676 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002202/0.02325, allocations: 227.4 kB / 358.1 MB, free: 6.414 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.512e-06/0.02325, allocations: 0 / 358.1 MB, free: 6.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0004334/0.02368, allocations: 431.8 kB / 358.5 MB, free: 5.969 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.0237, allocations: 32.67 kB / 358.6 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.0237, allocations: 4 kB / 358.6 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/0.02385, allocations: 68.03 kB / 358.6 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.02399, allocations: 71.91 kB / 358.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.025, allocations: 2.137 MB / 360.9 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.02513, allocations: 35.81 kB / 360.9 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.02515, allocations: 16 kB / 360.9 MB, free: 3.48 MB / 282.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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,iceP.tokgFuel.local_reset) * 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 0.000119/0.02527, allocations: 291.3 kB / 361.2 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.02534, allocations: 79.52 kB / 361.3 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.0257, allocations: 272 kB / 361.5 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.0257, allocations: 3.984 kB / 361.5 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.0257, allocations: 0 / 361.5 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.02571, allocations: 7.984 kB / 361.5 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007944/0.0265, allocations: 0.8058 MB / 362.4 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.02651, allocations: 8 kB / 362.4 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.02664, allocations: 47.91 kB / 362.4 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/0.02677, allocations: 55.64 kB / 362.5 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.02679, allocations: 4 kB / 362.5 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009807/0.02777, allocations: 2.13 MB / 364.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02777, allocations: 0 / 364.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004546/0.02822, allocations: 476.4 kB / 365.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.213e-05/0.02832, allocations: 79.5 kB / 365.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.02835, allocations: 15.92 kB / 365.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.02846, allocations: 15.98 kB / 365.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.02854, allocations: 35.89 kB / 365.2 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.02855, allocations: 8.031 kB / 365.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000369/0.02892, allocations: 462.9 kB / 365.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02892, allocations: 0 / 365.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005181/0.02943, allocations: 239.4 kB / 365.9 MB, free: 14.28 MB / 298.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.001194/0.03063, allocations: 0.5562 MB / 366.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000752/0.03138, allocations: 0.8271 MB / 367.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.03138, allocations: 0 / 367.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.03158, allocations: 282.1 kB / 367.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.03194, allocations: 121.1 kB / 367.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.03344, allocations: 1.125 MB / 368.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.03356, allocations: 165.3 kB / 369 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000143/0.0337, allocations: 68.31 kB / 369 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.538e-05/0.03377, allocations: 48.48 kB / 369.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.03377, allocations: 0 / 369.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of Templates: time 0.01042/0.04419, allocations: 7.805 MB / 376.9 MB, free: 3.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.035456795943901]