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.001078/0.001078, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001167/0.001167, allocations: 169 kB / 23.27 MB, free: 1.223 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.028/1.028, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.03525/0.03525, allocations: 6.503 MB / 266.8 MB, free: 6.484 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.956e-06/2.956e-06, allocations: 0 / 338.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.368e-05, allocations: 6.25 kB / 338.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.008752/0.008786, allocations: 3.649 MB / 342.2 MB, free: 7.906 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002752/0.01154, allocations: 1.925 MB / 344.1 MB, free: 5.973 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003842/0.01192, allocations: 11.94 kB / 344.1 MB, free: 5.961 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004958/0.01242, allocations: 198.8 kB / 344.3 MB, free: 5.766 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007461/0.01316, allocations: 290.4 kB / 344.6 MB, free: 5.48 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008372/0.014, allocations: 403 kB / 345 MB, free: 5.086 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007704/0.01477, allocations: 0.6546 MB / 345.6 MB, free: 4.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.01507, allocations: 143.2 kB / 345.8 MB, free: 4.293 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005657/0.01563, allocations: 375 kB / 346.1 MB, free: 3.926 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.01601, allocations: 239.3 kB / 346.4 MB, free: 3.691 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.711e-05/0.01609, allocations: 56 kB / 346.4 MB, free: 3.637 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.01633, allocations: 123.8 kB / 346.6 MB, free: 3.516 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.01652, allocations: 215.3 kB / 346.8 MB, free: 3.305 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.0167, allocations: 195.3 kB / 347 MB, free: 3.113 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000737/0.01744, allocations: 0.5643 MB / 347.5 MB, free: 2.547 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.01744, allocations: 0 / 347.5 MB, free: 2.547 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.01744, allocations: 4 kB / 347.5 MB, free: 2.543 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.01745, allocations: 0 / 347.5 MB, free: 2.543 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.001214/0.01867, allocations: 1.123 MB / 348.6 MB, free: 1.371 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.01871, allocations: 8.031 kB / 348.7 MB, free: 1.363 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.01885, allocations: 116.4 kB / 348.8 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.01936, allocations: 461 kB / 349.2 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.01939, allocations: 29.38 kB / 349.3 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.01944, allocations: 40.33 kB / 349.3 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.01986, allocations: 357.1 kB / 349.6 MB, free: 324 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.01988, allocations: 0 / 349.6 MB, free: 324 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.0199, allocations: 16 kB / 349.7 MB, free: 308 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.01991, allocations: 8 kB / 349.7 MB, free: 300 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.02006, allocations: 106.8 kB / 349.8 MB, free: 192 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.02161, allocations: 1.43 MB / 351.2 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.0219, allocations: 178.4 kB / 351.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.545e-05/0.02196, allocations: 43.66 kB / 351.4 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.02199, allocations: 4 kB / 351.4 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.02216, allocations: 108.9 kB / 351.5 MB, free: 14.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 2.725e-06/0.02216, allocations: 4 kB / 351.5 MB, free: 14.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004537/0.02261, allocations: 255.5 kB / 351.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.02266, allocations: 92.95 kB / 351.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005407/0.0232, allocations: 0.6787 MB / 352.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.02323, allocations: 33.7 kB / 352.6 MB, free: 13.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.02346, allocations: 427.2 kB / 353 MB, free: 12.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.02352, allocations: 87.2 kB / 353.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.179e-05/0.02361, allocations: 87.3 kB / 353.2 MB, free: 12.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.02382, allocations: 0.5702 MB / 353.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-05/0.02391, allocations: 81.36 kB / 353.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.02404, allocations: 192.3 kB / 354 MB, free: 11.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.02423, allocations: 207.4 kB / 354.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.02424, allocations: 0 / 354.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003788/0.02462, allocations: 355.9 kB / 354.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.02465, allocations: 33.7 kB / 354.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.02466, allocations: 0 / 354.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/0.02478, allocations: 27.67 kB / 354.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.02494, allocations: 67.91 kB / 354.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009747/0.02592, allocations: 1.721 MB / 356.4 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.02609, allocations: 39.83 kB / 356.4 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.02611, allocations: 8 kB / 356.4 MB, free: 9.098 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001948/0.02631, allocations: 204.5 kB / 356.6 MB, free: 8.887 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001412/0.02645, allocations: 181.2 kB / 356.8 MB, free: 8.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001862/0.02664, allocations: 214.9 kB / 357 MB, free: 8.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.923e-06/0.02664, allocations: 4 kB / 357 MB, free: 8.406 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0003577/0.027, allocations: 363.6 kB / 357.4 MB, free: 8.027 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.02702, allocations: 37.7 kB / 357.4 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.02703, allocations: 0 / 357.4 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.912e-05/0.0271, allocations: 23.67 kB / 357.5 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.02723, allocations: 71.91 kB / 357.5 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009131/0.02815, allocations: 1.721 MB / 359.2 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.0283, allocations: 31.88 kB / 359.3 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.02832, allocations: 12 kB / 359.3 MB, free: 6.004 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 (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 0.0001568/0.02847, allocations: 290.3 kB / 359.6 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.058e-05/0.02855, allocations: 75.53 kB / 359.6 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.02885, allocations: 215 kB / 359.9 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.02885, allocations: 4 kB / 359.9 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.02885, allocations: 0 / 359.9 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.02886, allocations: 7.969 kB / 359.9 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.02921, allocations: 316.8 kB / 360.2 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.02922, allocations: 0 / 360.2 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.02936, allocations: 51.84 kB / 360.2 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.72e-05/0.02944, allocations: 19.67 kB / 360.2 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.02945, allocations: 4 kB / 360.2 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007616/0.03021, allocations: 1.71 MB / 362 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.03022, allocations: 0 / 362 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.03054, allocations: 298.7 kB / 362.3 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.231e-05/0.03062, allocations: 67.55 kB / 362.3 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.03065, allocations: 15.92 kB / 362.3 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.03075, allocations: 19.98 kB / 362.4 MB, free: 2.746 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.03081, allocations: 23.95 kB / 362.4 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.03082, allocations: 0 / 362.4 MB, free: 2.723 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002975/0.03111, allocations: 430.9 kB / 362.8 MB, free: 2.305 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.03111, allocations: 0 / 362.8 MB, free: 2.305 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004811/0.0316, allocations: 215.5 kB / 363 MB, free: 2.094 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.001258/0.03285, allocations: 0.5658 MB / 363.6 MB, free: 1.762 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000624/0.03348, allocations: 0.7559 MB / 364.3 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.03348, allocations: 0 / 364.3 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.03365, allocations: 238.3 kB / 364.6 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.03397, allocations: 110.8 kB / 364.7 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.03561, allocations: 1.074 MB / 365.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.03572, allocations: 165.2 kB / 365.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.03587, allocations: 56.23 kB / 366 MB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.03605, allocations: 166.1 kB / 366.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of SimCode: time 1.432e-06/0.03605, allocations: 0 / 366.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of Templates: time 0.01105/0.04711, allocations: 7.541 MB / 373.7 MB, free: 7.602 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: 3.2094846749678254]