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.0009752/0.0009752, allocations: 92.22 kB / 19.65 MB, free: 276 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.001002/0.001002, allocations: 173 kB / 23.03 MB, free: 1.543 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.056/1.056, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.02515/0.02515, allocations: 6.487 MB / 266.4 MB, free: 6.617 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.204e-06/2.204e-06, allocations: 0 / 338.1 MB, free: 11.85 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.419e-05, allocations: 2.312 kB / 338.1 MB, free: 11.85 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.006489/0.006513, allocations: 3.716 MB / 341.8 MB, free: 8.105 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.009083, allocations: 1.936 MB / 343.7 MB, free: 6.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.00931, allocations: 15.88 kB / 343.8 MB, free: 6.145 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.009664, allocations: 202.8 kB / 344 MB, free: 5.945 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005074/0.01017, allocations: 286.4 kB / 344.2 MB, free: 5.664 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006119/0.01078, allocations: 403 kB / 344.6 MB, free: 5.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005551/0.01134, allocations: 0.6546 MB / 345.3 MB, free: 4.613 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.01155, allocations: 143.2 kB / 345.4 MB, free: 4.477 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004085/0.01196, allocations: 371 kB / 345.8 MB, free: 4.113 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.01223, allocations: 247.3 kB / 346 MB, free: 3.871 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.168e-05/0.01228, allocations: 52 kB / 346.1 MB, free: 3.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.01243, allocations: 119.8 kB / 346.2 MB, free: 3.703 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.01257, allocations: 211.3 kB / 346.4 MB, free: 3.496 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.0127, allocations: 203.3 kB / 346.6 MB, free: 3.297 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005299/0.01323, allocations: 0.5565 MB / 347.2 MB, free: 2.738 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01324, allocations: 0 / 347.2 MB, free: 2.738 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.01324, allocations: 7.938 kB / 347.2 MB, free: 2.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.01324, allocations: 0 / 347.2 MB, free: 2.73 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.001134/0.01438, allocations: 1.115 MB / 348.3 MB, free: 1.566 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.01441, allocations: 12.03 kB / 348.3 MB, free: 1.555 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.01458, allocations: 120.4 kB / 348.4 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.0151, allocations: 488.9 kB / 348.9 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.01513, allocations: 29.38 kB / 348.9 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.01518, allocations: 40.33 kB / 349 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.01563, allocations: 373.2 kB / 349.3 MB, free: 472 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.01565, allocations: 0 / 349.3 MB, free: 472 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.01567, allocations: 15.94 kB / 349.3 MB, free: 456 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.01568, allocations: 8 kB / 349.3 MB, free: 448 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.01589, allocations: 129.9 kB / 349.5 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.01731, allocations: 1.558 MB / 351 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.01762, allocations: 174.4 kB / 351.2 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/0.01769, allocations: 47.67 kB / 351.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.01772, allocations: 11.98 kB / 351.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.01787, allocations: 109 kB / 351.4 MB, free: 14.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.624e-06/0.01787, allocations: 4 kB / 351.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.000461/0.01833, allocations: 287.1 kB / 351.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.01837, allocations: 88.95 kB / 351.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005918/0.01896, allocations: 0.7065 MB / 352.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.01899, allocations: 29.7 kB / 352.5 MB, free: 13.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.01923, allocations: 415.3 kB / 352.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.01929, allocations: 95.22 kB / 353 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.727e-05/0.01939, allocations: 79.34 kB / 353 MB, free: 12.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.01961, allocations: 0.5664 MB / 353.6 MB, free: 12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.01973, allocations: 81.36 kB / 353.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.01989, allocations: 216.3 kB / 353.9 MB, free: 11.65 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.02014, allocations: 222.8 kB / 354.1 MB, free: 11.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.02014, allocations: 0 / 354.1 MB, free: 11.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000446/0.02059, allocations: 379.8 kB / 354.5 MB, free: 11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.02062, allocations: 29.7 kB / 354.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.02062, allocations: 4 kB / 354.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/0.02074, allocations: 31.89 kB / 354.6 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.02091, allocations: 71.84 kB / 354.6 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008429/0.02175, allocations: 1.736 MB / 356.4 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.0219, allocations: 39.83 kB / 356.4 MB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.02192, allocations: 15.98 kB / 356.4 MB, free: 8.941 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000179/0.0221, allocations: 212.7 kB / 356.6 MB, free: 8.723 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001642/0.02226, allocations: 201.2 kB / 356.8 MB, free: 8.477 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002102/0.02247, allocations: 214.9 kB / 357 MB, free: 8.227 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.02247, allocations: 4 kB / 357 MB, free: 8.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0003951/0.02287, allocations: 387.4 kB / 357.4 MB, free: 7.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.02289, allocations: 33.7 kB / 357.4 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.02289, allocations: 0 / 357.4 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.747e-05/0.02297, allocations: 31.61 kB / 357.5 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.02311, allocations: 71.89 kB / 357.5 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007982/0.02391, allocations: 1.733 MB / 359.3 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.02404, allocations: 39.83 kB / 359.3 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.02406, allocations: 11.98 kB / 359.3 MB, free: 5.766 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.0001552/0.02421, allocations: 294.2 kB / 359.6 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.559e-05/0.02428, allocations: 71.58 kB / 359.7 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.02463, allocations: 239 kB / 359.9 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.02464, allocations: 4 kB / 359.9 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.02464, allocations: 0 / 359.9 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.02464, allocations: 3.984 kB / 359.9 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.02499, allocations: 420.3 kB / 360.3 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.02499, allocations: 0 / 360.3 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.02511, allocations: 43.91 kB / 360.4 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.522e-05/0.02517, allocations: 23.62 kB / 360.4 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.02519, allocations: 15.92 kB / 360.4 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006672/0.02585, allocations: 1.717 MB / 362.1 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.02586, allocations: 4 kB / 362.1 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.02622, allocations: 318.7 kB / 362.4 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/0.02628, allocations: 75.5 kB / 362.5 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.02633, allocations: 11.98 kB / 362.5 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.613e-05/0.02642, allocations: 24.11 kB / 362.6 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.0265, allocations: 19.95 kB / 362.6 MB, free: 2.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.02651, allocations: 8 kB / 362.6 MB, free: 2.297 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003985/0.02691, allocations: 462.9 kB / 363 MB, free: 1.848 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02691, allocations: 0 / 363 MB, free: 1.848 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004047/0.02732, allocations: 223.4 kB / 363.3 MB, free: 1.629 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.00136/0.02868, allocations: 0.5601 MB / 363.8 MB, free: 1.301 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007144/0.02939, allocations: 0.784 MB / 364.6 MB, free: 452 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.0294, allocations: 0 / 364.6 MB, free: 452 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.02957, allocations: 245.6 kB / 364.8 MB, free: 184 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.02988, allocations: 106.5 kB / 364.9 MB, free: 88 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.03152, allocations: 1.085 MB / 366 MB, free: 14.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.03162, allocations: 169.2 kB / 366.2 MB, free: 14.78 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.03178, allocations: 76.2 kB / 366.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.896e-05/0.03186, allocations: 36.5 kB / 366.3 MB, free: 14.67 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.03186, allocations: 0 / 366.3 MB, free: 14.67 MB / 346.7 MB Notification: Performance of Templates: time 0.00989/0.04175, allocations: 7.354 MB / 373.7 MB, free: 7.363 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.2098042690195143]