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.0009862/0.0009862, 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.0009476/0.0009476, 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.037/1.037, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.02572/0.02572, allocations: 6.491 MB / 266.8 MB, free: 6.695 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.502e-06/1.502e-06, allocations: 0 / 338.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.75e-05, allocations: 6.25 kB / 338.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.0039/0.003917, allocations: 3.714 MB / 341.8 MB, free: 8.438 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.006008, allocations: 1.917 MB / 343.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.00622, allocations: 19.88 kB / 343.7 MB, free: 6.492 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.006611, allocations: 202.8 kB / 343.9 MB, free: 6.293 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00053/0.007141, allocations: 282.4 kB / 344.2 MB, free: 6.016 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006025/0.007744, allocations: 407 kB / 344.6 MB, free: 5.617 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005618/0.008306, allocations: 0.6507 MB / 345.3 MB, free: 4.965 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.008551, allocations: 147.2 kB / 345.4 MB, free: 4.824 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004092/0.00896, allocations: 367.1 kB / 345.8 MB, free: 4.465 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.009241, allocations: 247.3 kB / 346 MB, free: 4.223 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.187e-05/0.009293, allocations: 52 kB / 346.1 MB, free: 4.172 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.009433, allocations: 111.9 kB / 346.2 MB, free: 4.062 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.009586, allocations: 227.2 kB / 346.4 MB, free: 3.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.009735, allocations: 195.3 kB / 346.6 MB, free: 3.648 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005355/0.01027, allocations: 0.5604 MB / 347.1 MB, free: 3.086 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.01027, allocations: 3.938 kB / 347.1 MB, free: 3.082 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01027, allocations: 0 / 347.1 MB, free: 3.082 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.01028, allocations: 0 / 347.1 MB, free: 3.082 MB / 314.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.001125/0.0114, allocations: 1.123 MB / 348.3 MB, free: 1.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.01144, allocations: 8.031 kB / 348.3 MB, free: 1.902 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.01157, allocations: 116.4 kB / 348.4 MB, free: 1.789 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.01205, allocations: 480.9 kB / 348.9 MB, free: 1.289 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.01208, allocations: 29.38 kB / 348.9 MB, free: 1.262 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-05/0.01213, allocations: 44.31 kB / 348.9 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.01258, allocations: 365.2 kB / 349.3 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.0126, allocations: 11.92 kB / 349.3 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.01262, allocations: 16 kB / 349.3 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.01263, allocations: 8 kB / 349.3 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.01285, allocations: 125.9 kB / 349.4 MB, free: 0.668 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.0143, allocations: 1.562 MB / 351 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.01469, allocations: 178.5 kB / 351.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.553e-05/0.01478, allocations: 43.67 kB / 351.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.01481, allocations: 11.98 kB / 351.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.01498, allocations: 113 kB / 351.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.874e-06/0.01498, allocations: 0 / 351.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005158/0.0155, allocations: 279.1 kB / 351.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.01555, allocations: 92.97 kB / 351.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007818/0.01633, allocations: 0.7026 MB / 352.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.01636, allocations: 29.7 kB / 352.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.01667, allocations: 419.3 kB / 352.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.123e-05/0.01674, allocations: 95.16 kB / 352.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.01685, allocations: 75.34 kB / 353 MB, free: 12.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002438/0.01709, allocations: 0.5664 MB / 353.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.01721, allocations: 89.34 kB / 353.7 MB, free: 12.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.01737, allocations: 220.2 kB / 353.9 MB, free: 12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.01759, allocations: 222.8 kB / 354.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.01759, allocations: 4 kB / 354.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004719/0.01806, allocations: 372 kB / 354.5 MB, free: 11.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.0181, allocations: 40.53 kB / 354.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.0181, allocations: 4 kB / 354.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/0.01824, allocations: 19.69 kB / 354.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.01841, allocations: 75.89 kB / 354.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007734/0.01918, allocations: 1.74 MB / 356.3 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.01932, allocations: 39.83 kB / 356.4 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.01934, allocations: 16 kB / 356.4 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001731/0.01951, allocations: 212.5 kB / 356.6 MB, free: 9.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001523/0.01967, allocations: 201.2 kB / 356.8 MB, free: 8.824 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002227/0.01989, allocations: 223 kB / 357 MB, free: 8.566 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.01989, allocations: 0 / 357 MB, free: 8.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0004086/0.0203, allocations: 387.3 kB / 357.4 MB, free: 8.164 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.02032, allocations: 33.7 kB / 357.4 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.02032, allocations: 3.938 kB / 357.4 MB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.862e-05/0.02039, allocations: 27.89 kB / 357.5 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.02054, allocations: 71.91 kB / 357.5 MB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006912/0.02123, allocations: 1.736 MB / 359.3 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.02136, allocations: 31.88 kB / 359.3 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.02138, allocations: 12 kB / 359.3 MB, free: 6.113 MB / 330.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.0001203/0.0215, allocations: 292.1 kB / 359.6 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.062e-05/0.02157, allocations: 71.53 kB / 359.7 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.02187, allocations: 235 kB / 359.9 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.02187, allocations: 4 kB / 359.9 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.02187, allocations: 0 / 359.9 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.02187, allocations: 0 / 359.9 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.02221, allocations: 424.3 kB / 360.3 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.02221, allocations: 0 / 360.3 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.02235, allocations: 43.97 kB / 360.4 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.72e-05/0.02242, allocations: 31.53 kB / 360.4 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.02244, allocations: 8 kB / 360.4 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006879/0.02313, allocations: 1.725 MB / 362.1 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02313, allocations: 4 kB / 362.1 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.02351, allocations: 322.8 kB / 362.4 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-05/0.02358, allocations: 75.5 kB / 362.5 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.02362, allocations: 8 kB / 362.5 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.857e-05/0.02371, allocations: 19.98 kB / 362.5 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.02378, allocations: 23.95 kB / 362.6 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.02379, allocations: 4 kB / 362.6 MB, free: 2.645 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003878/0.02418, allocations: 462.9 kB / 363 MB, free: 2.195 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02418, allocations: 0 / 363 MB, free: 2.195 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004188/0.0246, allocations: 215.5 kB / 363.2 MB, free: 1.984 MB / 330.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.001338/0.02593, allocations: 0.5666 MB / 363.8 MB, free: 1.648 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007475/0.02668, allocations: 0.7837 MB / 364.6 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.02668, allocations: 0 / 364.6 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.02687, allocations: 245.4 kB / 364.8 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.0272, allocations: 109.9 kB / 364.9 MB, free: 440 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.02877, allocations: 1.088 MB / 366 MB, free: 15.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.02887, allocations: 161.2 kB / 366.2 MB, free: 15.13 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.02902, allocations: 76.2 kB / 366.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.0291, allocations: 40.5 kB / 366.3 MB, free: 15.02 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.0291, allocations: 0 / 366.3 MB, free: 15.02 MB / 346.7 MB Notification: Performance of Templates: time 0.009881/0.03898, allocations: 6.992 MB / 373.3 MB, free: 8.074 MB / 346.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.9439587760716677]