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.002153/0.002153, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002821/0.002821, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.659/1.659, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.04519/0.04519, allocations: 6.495 MB / 266.1 MB, free: 6.641 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 1.673e-06/1.673e-06, allocations: 0 / 337.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.075e-05, allocations: 6.312 kB / 337.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.004076/0.004097, allocations: 3.659 MB / 341 MB, free: 7.438 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.006209, allocations: 1.923 MB / 342.9 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.006411, allocations: 7.938 kB / 342.9 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003863/0.006797, allocations: 206.8 kB / 343.1 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005129/0.00731, allocations: 286.4 kB / 343.4 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006074/0.007918, allocations: 403 kB / 343.8 MB, free: 4.621 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000447/0.008365, allocations: 0.6546 MB / 344.5 MB, free: 3.965 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.008607, allocations: 151.2 kB / 344.6 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003641/0.008971, allocations: 363.1 kB / 345 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.009251, allocations: 243.3 kB / 345.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.686e-05/0.009317, allocations: 60 kB / 345.3 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.009478, allocations: 119.8 kB / 345.4 MB, free: 3.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.009616, allocations: 211.3 kB / 345.6 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.009769, allocations: 207.3 kB / 345.8 MB, free: 2.633 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006417/0.01041, allocations: 0.8411 MB / 346.6 MB, free: 1.789 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.01041, allocations: 4 kB / 346.6 MB, free: 1.785 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01041, allocations: 0 / 346.6 MB, free: 1.785 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.01042, allocations: 0 / 346.6 MB, free: 1.785 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.001335/0.01176, allocations: 1.193 MB / 347.8 MB, free: 0.543 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.01179, allocations: 8.031 kB / 347.8 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.01192, allocations: 116.4 kB / 348 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006494/0.01257, allocations: 488.9 kB / 348.4 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/0.01262, allocations: 29.38 kB / 348.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/0.01269, allocations: 40.33 kB / 348.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008865/0.01358, allocations: 460.5 kB / 349 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.0136, allocations: 4 kB / 349 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.01364, allocations: 16 kB / 349 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.01365, allocations: 8 kB / 349 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007442/0.0144, allocations: 267.8 kB / 349.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003039/0.01744, allocations: 1.816 MB / 351.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008169/0.01825, allocations: 291.3 kB / 351.3 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/0.01854, allocations: 103.6 kB / 351.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.01858, allocations: 4 kB / 351.4 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004264/0.01901, allocations: 173.8 kB / 351.6 MB, free: 12.61 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.01901, allocations: 0 / 351.6 MB, free: 12.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.001364/0.02038, allocations: 435 kB / 352 MB, free: 12.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.02044, allocations: 89.05 kB / 352.1 MB, free: 12.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.02175, allocations: 0.8862 MB / 353 MB, free: 11.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.02179, allocations: 33.7 kB / 353.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004999/0.02229, allocations: 467.3 kB / 353.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.02239, allocations: 87.34 kB / 353.6 MB, free: 10.58 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.02256, allocations: 99.3 kB / 353.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004482/0.02301, allocations: 0.625 MB / 354.3 MB, free: 9.836 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.02338, allocations: 149.3 kB / 354.5 MB, free: 9.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004996/0.02388, allocations: 280.4 kB / 354.7 MB, free: 9.355 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007372/0.02462, allocations: 350.6 kB / 355.1 MB, free: 8.973 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.02462, allocations: 7.938 kB / 355.1 MB, free: 8.965 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001291/0.02591, allocations: 0.4919 MB / 355.6 MB, free: 8.449 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.02596, allocations: 32.83 kB / 355.6 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.02597, allocations: 7.984 kB / 355.6 MB, free: 8.406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.02615, allocations: 23.69 kB / 355.6 MB, free: 8.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.02646, allocations: 80.11 kB / 355.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.02803, allocations: 1.771 MB / 357.5 MB, free: 6.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.02831, allocations: 43.77 kB / 357.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.02834, allocations: 8 kB / 357.5 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005087/0.02885, allocations: 308.6 kB / 357.8 MB, free: 6.047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004356/0.02929, allocations: 273.2 kB / 358.1 MB, free: 5.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006505/0.02994, allocations: 326.8 kB / 358.4 MB, free: 5.371 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.415e-06/0.02994, allocations: 4.031 kB / 358.4 MB, free: 5.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001053/0.03099, allocations: 495.6 kB / 358.9 MB, free: 4.859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.03103, allocations: 33.69 kB / 358.9 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.03104, allocations: 4 kB / 358.9 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001088/0.03115, allocations: 27.84 kB / 359 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.03143, allocations: 79.89 kB / 359.1 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.03297, allocations: 1.76 MB / 360.8 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.03325, allocations: 47.75 kB / 360.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.03328, allocations: 12 kB / 360.9 MB, free: 2.766 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,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.0002297/0.03351, allocations: 288.1 kB / 361.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.03363, allocations: 71.58 kB / 361.2 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008471/0.03447, allocations: 330.9 kB / 361.5 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.03448, allocations: 0 / 361.5 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.03448, allocations: 4 kB / 361.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.03448, allocations: 3.938 kB / 361.6 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008099/0.03529, allocations: 0.551 MB / 362.1 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.0353, allocations: 0 / 362.1 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.03555, allocations: 51.97 kB / 362.2 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-05/0.03565, allocations: 23.61 kB / 362.2 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.03567, allocations: 8 kB / 362.2 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.03746, allocations: 1.768 MB / 364 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.03746, allocations: 128 / 364 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.03859, allocations: 0.491 MB / 364.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.03877, allocations: 79.5 kB / 364.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.03883, allocations: 4 kB / 364.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.03905, allocations: 19.97 kB / 364.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.03913, allocations: 23.97 kB / 364.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.03916, allocations: 7.984 kB / 364.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007704/0.03993, allocations: 0.538 MB / 365.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03993, allocations: 0 / 365.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006964/0.04062, allocations: 215.4 kB / 365.3 MB, free: 14.1 MB / 298.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.004734/0.04536, allocations: 0.6582 MB / 366 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.04713, allocations: 0.9749 MB / 367 MB, free: 12.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.04714, allocations: 0 / 367 MB, free: 12.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005147/0.04765, allocations: 306 kB / 367.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005865/0.04824, allocations: 106.9 kB / 367.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.0504, allocations: 1.148 MB / 368.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.05081, allocations: 333.7 kB / 368.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000235/0.05105, allocations: 68.22 kB / 368.9 MB, free: 10.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.05116, allocations: 40.44 kB / 368.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.05117, allocations: 4 kB / 368.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of Templates: time 0.01571/0.06688, allocations: 6.97 MB / 375.9 MB, free: 3.719 MB / 298.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: 4.8921101780142635]