Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.0009271/0.0009271, allocations: 92.22 kB / 19.65 MB, free: 280 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.0009437/0.0009437, allocations: 169 kB / 23.03 MB, free: 1.547 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.017/1.017, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.02554/0.02554, allocations: 6.475 MB / 266.4 MB, free: 6.633 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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.065e-06/3.065e-06, allocations: 0 / 338.1 MB, free: 11.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.168e-05/3.474e-05, allocations: 4.844 kB / 338.1 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.004814/0.004849, allocations: 3.716 MB / 341.8 MB, free: 8.133 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.007318, allocations: 1.932 MB / 343.7 MB, free: 6.191 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003025/0.00762, allocations: 11.94 kB / 343.7 MB, free: 6.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006603/0.00828, allocations: 206.8 kB / 343.9 MB, free: 5.977 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006802/0.008961, allocations: 282.3 kB / 344.2 MB, free: 5.699 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008332/0.009794, allocations: 407 kB / 344.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009318/0.01073, allocations: 0.6546 MB / 345.3 MB, free: 4.645 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003584/0.01108, allocations: 147.2 kB / 345.4 MB, free: 4.504 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006823/0.01177, allocations: 367 kB / 345.8 MB, free: 4.145 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004628/0.01223, allocations: 243.3 kB / 346 MB, free: 3.906 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.52e-05/0.0123, allocations: 52 kB / 346 MB, free: 3.855 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/0.01258, allocations: 119.8 kB / 346.2 MB, free: 3.738 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.01283, allocations: 219.3 kB / 346.4 MB, free: 3.523 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.01307, allocations: 195.4 kB / 346.6 MB, free: 3.332 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000901/0.01398, allocations: 0.5643 MB / 347.1 MB, free: 2.766 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.01398, allocations: 0 / 347.1 MB, free: 2.766 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01398, allocations: 0 / 347.1 MB, free: 2.766 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.014, allocations: 0 / 347.1 MB, free: 2.766 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.001569/0.01557, allocations: 1.119 MB / 348.3 MB, free: 1.598 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.01562, allocations: 16.03 kB / 348.3 MB, free: 1.582 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.01588, allocations: 120.4 kB / 348.4 MB, free: 1.465 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006309/0.01651, allocations: 481 kB / 348.9 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.01655, allocations: 33.31 kB / 348.9 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.517e-05/0.01662, allocations: 40.33 kB / 348.9 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006233/0.01724, allocations: 369.2 kB / 349.3 MB, free: 0.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.01726, allocations: 4 kB / 349.3 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.01729, allocations: 16 kB / 349.3 MB, free: 492 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.01731, allocations: 8 kB / 349.3 MB, free: 484 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.01755, allocations: 133.8 kB / 349.4 MB, free: 348 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/0.01978, allocations: 1.562 MB / 351 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/0.02021, allocations: 178.4 kB / 351.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.693e-05/0.02029, allocations: 43.67 kB / 351.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/0.02034, allocations: 4 kB / 351.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.02058, allocations: 113 kB / 351.3 MB, free: 14.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 6.672e-06/0.02058, allocations: 0 / 351.3 MB, free: 14.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007575/0.02134, allocations: 283.1 kB / 351.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.591e-05/0.02143, allocations: 92.95 kB / 351.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007135/0.02214, allocations: 0.7065 MB / 352.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.02217, allocations: 33.7 kB / 352.4 MB, free: 13.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.02248, allocations: 415.4 kB / 352.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.913e-05/0.02256, allocations: 87.22 kB / 352.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.02268, allocations: 83.34 kB / 353 MB, free: 12.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002664/0.02295, allocations: 0.5664 MB / 353.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.02311, allocations: 81.36 kB / 353.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.0233, allocations: 216.2 kB / 353.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.02357, allocations: 222.9 kB / 354.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.02357, allocations: 0 / 354.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006031/0.02418, allocations: 379.8 kB / 354.5 MB, free: 11.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.952e-05/0.02424, allocations: 37.92 kB / 354.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.02425, allocations: 4 kB / 354.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002295/0.02448, allocations: 23.67 kB / 354.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.02472, allocations: 67.91 kB / 354.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.026, allocations: 1.74 MB / 356.3 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.02621, allocations: 39.83 kB / 356.4 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.02624, allocations: 15.98 kB / 356.4 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002181/0.02646, allocations: 208.5 kB / 356.6 MB, free: 8.758 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000162/0.02662, allocations: 201.2 kB / 356.8 MB, free: 8.512 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002236/0.02684, allocations: 222.9 kB / 357 MB, free: 8.254 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.02684, allocations: 0 / 357 MB, free: 8.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0004481/0.02729, allocations: 387.4 kB / 357.4 MB, free: 7.852 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.02733, allocations: 33.7 kB / 357.4 MB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.02733, allocations: 4 kB / 357.4 MB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001056/0.02744, allocations: 31.89 kB / 357.5 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.02761, allocations: 67.84 kB / 357.5 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.02896, allocations: 1.74 MB / 359.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.02911, allocations: 31.88 kB / 359.3 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.02913, allocations: 15.98 kB / 359.3 MB, free: 5.793 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.0001519/0.02928, allocations: 292.1 kB / 359.6 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.02935, allocations: 75.53 kB / 359.7 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.02969, allocations: 235 kB / 359.9 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.02969, allocations: 0 / 359.9 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.0297, allocations: 0 / 359.9 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.02971, allocations: 7.984 kB / 359.9 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.03009, allocations: 416.3 kB / 360.3 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.0301, allocations: 0 / 360.3 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.03025, allocations: 43.97 kB / 360.3 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.383e-05/0.03033, allocations: 23.69 kB / 360.4 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.03035, allocations: 7.984 kB / 360.4 MB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007907/0.03114, allocations: 1.729 MB / 362.1 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.03114, allocations: 0 / 362.1 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.03155, allocations: 326.7 kB / 362.4 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.903e-05/0.03163, allocations: 79.5 kB / 362.5 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.03167, allocations: 11.98 kB / 362.5 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.937e-05/0.03177, allocations: 15.98 kB / 362.5 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.956e-05/0.03185, allocations: 23.95 kB / 362.6 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.03186, allocations: 4 kB / 362.6 MB, free: 2.324 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003955/0.03225, allocations: 463 kB / 363 MB, free: 1.875 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.03225, allocations: 0 / 363 MB, free: 1.875 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005039/0.03276, allocations: 219.4 kB / 363.2 MB, free: 1.66 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.001306/0.03406, allocations: 0.5576 MB / 363.8 MB, free: 1.336 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008548/0.03492, allocations: 0.7878 MB / 364.6 MB, free: 484 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.03492, allocations: 0 / 364.6 MB, free: 484 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.03511, allocations: 249.4 kB / 364.8 MB, free: 212 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.0355, allocations: 118.5 kB / 364.9 MB, free: 108 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.03757, allocations: 1.081 MB / 366 MB, free: 14.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.03767, allocations: 165.2 kB / 366.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.03784, allocations: 68.22 kB / 366.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.32e-05/0.03792, allocations: 44.48 kB / 366.3 MB, free: 14.69 MB / 346.7 MB Notification: Performance of SimCode: time 8.31e-07/0.03792, allocations: 0 / 366.3 MB, free: 14.69 MB / 346.7 MB Notification: Performance of Templates: time 0.01176/0.04968, allocations: 7.35 MB / 373.6 MB, free: 7.387 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.254659099970013]