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.001077/0.001077, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00182/0.00182, allocations: 173 kB / 23.49 MB, free: 1.059 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.098/1.098, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.0275/0.0275, allocations: 6.479 MB / 266.8 MB, free: 6.688 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 1.623e-06/1.623e-06, allocations: 0 / 338.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.02e-05, allocations: 4.422 kB / 338.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.003459/0.00348, allocations: 3.704 MB / 341.8 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.005268, allocations: 1.924 MB / 343.7 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.005473, allocations: 11.94 kB / 343.7 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.005852, allocations: 210.8 kB / 343.9 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000461/0.006313, allocations: 282.4 kB / 344.2 MB, free: 4.957 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.006744, allocations: 399 kB / 344.6 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.007128, allocations: 0.6585 MB / 345.3 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.007361, allocations: 151.2 kB / 345.4 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/0.00766, allocations: 367 kB / 345.8 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.00788, allocations: 243.3 kB / 346 MB, free: 3.156 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.866e-05/0.007929, allocations: 52 kB / 346 MB, free: 3.105 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.008037, allocations: 119.8 kB / 346.2 MB, free: 2.988 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.00815, allocations: 219.3 kB / 346.4 MB, free: 2.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.00827, allocations: 195.3 kB / 346.6 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000422/0.008692, allocations: 0.5682 MB / 347.1 MB, free: 2.012 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.008695, allocations: 4 kB / 347.1 MB, free: 2.008 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.008696, allocations: 0 / 347.1 MB, free: 2.008 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.008702, allocations: 0 / 347.1 MB, free: 2.008 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.0009148/0.009617, allocations: 1.123 MB / 348.3 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.009651, allocations: 8.031 kB / 348.3 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.009761, allocations: 120.4 kB / 348.4 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.01016, allocations: 473 kB / 348.9 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.01019, allocations: 29.38 kB / 348.9 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.01023, allocations: 44.33 kB / 348.9 MB, free: 156 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.01068, allocations: 369.2 kB / 349.3 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.01069, allocations: 0 / 349.3 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.01072, allocations: 16 kB / 349.3 MB, free: 15.74 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.01073, allocations: 8 kB / 349.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.01096, allocations: 141.8 kB / 349.4 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.01235, allocations: 1.551 MB / 351 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.01267, allocations: 179 kB / 351.2 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.7e-05/0.01275, allocations: 43.67 kB / 351.2 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.01277, allocations: 4 kB / 351.2 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.01294, allocations: 117 kB / 351.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.342e-06/0.01294, allocations: 3.938 kB / 351.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004979/0.01344, allocations: 288.4 kB / 351.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.01348, allocations: 85.11 kB / 351.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005569/0.01403, allocations: 0.7026 MB / 352.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.01406, allocations: 37.7 kB / 352.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.01428, allocations: 415.4 kB / 352.8 MB, free: 12.05 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.01432, allocations: 91.19 kB / 352.9 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.851e-05/0.0144, allocations: 79.3 kB / 353 MB, free: 11.87 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.01458, allocations: 0.5741 MB / 353.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.01469, allocations: 89.34 kB / 353.7 MB, free: 11.19 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.01484, allocations: 200.5 kB / 353.9 MB, free: 10.94 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.01506, allocations: 230.6 kB / 354.1 MB, free: 10.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01506, allocations: 0 / 354.1 MB, free: 10.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003943/0.01546, allocations: 379.7 kB / 354.5 MB, free: 10.28 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.01548, allocations: 33.7 kB / 354.5 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.01549, allocations: 0 / 354.5 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/0.01561, allocations: 31.89 kB / 354.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.01577, allocations: 71.89 kB / 354.6 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007498/0.01652, allocations: 1.732 MB / 356.3 MB, free: 8.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.01665, allocations: 43.94 kB / 356.4 MB, free: 8.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.01667, allocations: 16 kB / 356.4 MB, free: 8.227 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000224/0.01689, allocations: 212.5 kB / 356.6 MB, free: 8.008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001419/0.01703, allocations: 205.2 kB / 356.8 MB, free: 7.758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001989/0.01723, allocations: 214.9 kB / 357 MB, free: 7.508 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.253e-06/0.01723, allocations: 7.969 kB / 357 MB, free: 7.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0003654/0.0176, allocations: 379.8 kB / 357.4 MB, free: 7.105 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.01762, allocations: 33.69 kB / 357.4 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-06/0.01762, allocations: 4 kB / 357.4 MB, free: 7.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.486e-05/0.01767, allocations: 19.69 kB / 357.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.01781, allocations: 72.11 kB / 357.5 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006914/0.0185, allocations: 1.732 MB / 359.2 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.01862, allocations: 35.83 kB / 359.3 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.01863, allocations: 16 kB / 359.3 MB, free: 5.059 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.000107/0.01874, allocations: 287.1 kB / 359.6 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.0188, allocations: 75.58 kB / 359.7 MB, free: 4.699 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.0191, allocations: 235 kB / 359.9 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.0191, allocations: 4 kB / 359.9 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.0191, allocations: 0 / 359.9 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01911, allocations: 0 / 359.9 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.01943, allocations: 420.3 kB / 360.3 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01943, allocations: 0 / 360.3 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.01956, allocations: 51.91 kB / 360.3 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.325e-05/0.01961, allocations: 27.61 kB / 360.4 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.01963, allocations: 4 kB / 360.4 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000797/0.02042, allocations: 1.732 MB / 362.1 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.02042, allocations: 0 / 362.1 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.02079, allocations: 315.9 kB / 362.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.02086, allocations: 83.48 kB / 362.5 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.0209, allocations: 8.125 kB / 362.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.837e-05/0.02099, allocations: 19.98 kB / 362.5 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.02105, allocations: 27.89 kB / 362.6 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.02106, allocations: 4 kB / 362.6 MB, free: 1.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003497/0.02141, allocations: 462.9 kB / 363 MB, free: 1.145 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02141, allocations: 0 / 363 MB, free: 1.145 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003684/0.02178, allocations: 215.5 kB / 363.2 MB, free: 0.9336 MB / 282.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.001208/0.02299, allocations: 0.5659 MB / 363.8 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006705/0.02366, allocations: 0.7879 MB / 364.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.02366, allocations: 4.062 kB / 364.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.02383, allocations: 253.4 kB / 364.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.02415, allocations: 102.3 kB / 364.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.02554, allocations: 1.09 MB / 366 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.825e-05/0.02564, allocations: 157.2 kB / 366.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.02578, allocations: 76.19 kB / 366.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.02585, allocations: 40.5 kB / 366.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02585, allocations: 0 / 366.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of Templates: time 0.009788/0.03564, allocations: 6.982 MB / 373.3 MB, free: 7.02 MB / 298.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: 2.973880881909281]