Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.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.00138/0.00138, allocations: 92.7 kB / 19.44 MB, free: 324 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.001528/0.001528, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.481/1.481, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.04335/0.04335, allocations: 6.493 MB / 266 MB, free: 6.656 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.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 337.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.467e-05, allocations: 2.312 kB / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.004356/0.004381, allocations: 3.615 MB / 341 MB, free: 7.508 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002673/0.007054, allocations: 1.924 MB / 342.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004042/0.007458, allocations: 15.94 kB / 342.9 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.007908, allocations: 214.7 kB / 343.1 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007385/0.008647, allocations: 286.4 kB / 343.4 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008323/0.009479, allocations: 422.9 kB / 343.8 MB, free: 4.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006463/0.01013, allocations: 0.6821 MB / 344.5 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.01042, allocations: 164.2 kB / 344.6 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005383/0.01095, allocations: 383 kB / 345 MB, free: 3.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.01129, allocations: 263.2 kB / 345.3 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.791e-05/0.01137, allocations: 60 kB / 345.3 MB, free: 3.113 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.01157, allocations: 123.8 kB / 345.5 MB, free: 2.992 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.01172, allocations: 223.2 kB / 345.7 MB, free: 2.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.01191, allocations: 207.3 kB / 345.9 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000763/0.01267, allocations: 0.8917 MB / 346.8 MB, free: 1.676 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.01267, allocations: 0 / 346.8 MB, free: 1.676 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01267, allocations: 0 / 346.8 MB, free: 1.676 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.31e-05/0.0127, allocations: 0 / 346.8 MB, free: 1.676 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001605/0.0143, allocations: 1.054 MB / 347.8 MB, free: 0.582 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.01433, allocations: 8.031 kB / 347.8 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.0145, allocations: 124.3 kB / 348 MB, free: 464 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007576/0.01526, allocations: 0.5528 MB / 348.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.0153, allocations: 33.31 kB / 348.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.093e-05/0.01539, allocations: 48.38 kB / 348.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.01645, allocations: 474.5 kB / 349 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.01647, allocations: 3.984 kB / 349.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/0.01652, allocations: 16 kB / 349.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.01655, allocations: 11.94 kB / 349.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009597/0.0175, allocations: 335.7 kB / 349.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002924/0.02043, allocations: 1.522 MB / 350.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.02149, allocations: 345.7 kB / 351.3 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004202/0.02191, allocations: 132.8 kB / 351.4 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.02195, allocations: 8 kB / 351.4 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005497/0.0225, allocations: 194.7 kB / 351.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.653e-06/0.0225, allocations: 0 / 351.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.00203/0.02453, allocations: 0.5817 MB / 352.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/0.02461, allocations: 81.11 kB / 352.3 MB, free: 11.99 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.02605, allocations: 0.9417 MB / 353.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.02609, allocations: 29.7 kB / 353.2 MB, free: 11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004485/0.02653, allocations: 364.5 kB / 353.6 MB, free: 10.64 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.02667, allocations: 107.2 kB / 353.7 MB, free: 10.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.02685, allocations: 78.02 kB / 353.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003062/0.02716, allocations: 378.8 kB / 354.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004884/0.02764, allocations: 172.1 kB / 354.3 MB, free: 9.895 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000544/0.02819, allocations: 271 kB / 354.6 MB, free: 9.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009126/0.0291, allocations: 374.2 kB / 354.9 MB, free: 9.195 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.0291, allocations: 0 / 354.9 MB, free: 9.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001413/0.03052, allocations: 0.5803 MB / 355.5 MB, free: 8.594 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/0.03056, allocations: 33.7 kB / 355.5 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.03057, allocations: 7.938 kB / 355.6 MB, free: 8.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003808/0.03096, allocations: 80.78 kB / 355.6 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.03129, allocations: 72.05 kB / 355.7 MB, free: 8.395 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.03347, allocations: 1.688 MB / 357.4 MB, free: 6.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.03381, allocations: 51.69 kB / 357.4 MB, free: 6.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.03385, allocations: 20.06 kB / 357.5 MB, free: 6.535 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006973/0.03455, allocations: 370.6 kB / 357.8 MB, free: 6.164 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000498/0.03505, allocations: 259.2 kB / 358.1 MB, free: 5.871 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007945/0.03584, allocations: 336.7 kB / 358.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.489e-06/0.03584, allocations: 4 kB / 358.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001305/0.03715, allocations: 0.5594 MB / 359 MB, free: 4.926 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/0.0372, allocations: 35.89 kB / 359 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.0372, allocations: 0 / 359 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/0.03753, allocations: 92.94 kB / 359.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.03784, allocations: 75.89 kB / 359.2 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.0399, allocations: 1.68 MB / 360.8 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.04024, allocations: 43.81 kB / 360.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.04028, allocations: 19.98 kB / 360.9 MB, free: 2.875 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,iceP.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001922/0.04047, allocations: 202.7 kB / 361.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.04061, allocations: 75.53 kB / 361.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.04182, allocations: 432.9 kB / 361.6 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.04182, allocations: 4 kB / 361.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.04182, allocations: 0 / 361.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.04183, allocations: 0 / 361.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.0438, allocations: 0.8972 MB / 362.5 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.0438, allocations: 4 kB / 362.5 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.04409, allocations: 47.95 kB / 362.6 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003176/0.04441, allocations: 80.98 kB / 362.6 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.04443, allocations: 4 kB / 362.6 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.0465, allocations: 1.68 MB / 364.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.0465, allocations: 0 / 364.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.04808, allocations: 0.6621 MB / 365 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.04825, allocations: 83.55 kB / 365.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/0.04833, allocations: 8 kB / 365.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.04862, allocations: 27.95 kB / 365.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.852e-05/0.04872, allocations: 31.89 kB / 365.1 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.04874, allocations: 4 kB / 365.1 MB, free: 14.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009926/0.04974, allocations: 0.6709 MB / 365.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04974, allocations: 0 / 365.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009282/0.05066, allocations: 235.4 kB / 366 MB, free: 13.57 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceP.inertia.w,iceP.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 (22): * Single equations (assignments): 19 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003145/0.05381, allocations: 0.6552 MB / 366.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002053/0.05586, allocations: 0.9014 MB / 367.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.05586, allocations: 0 / 367.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006177/0.05648, allocations: 275 kB / 367.9 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006373/0.05712, allocations: 105.8 kB / 368 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.05976, allocations: 1.338 MB / 369.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.06027, allocations: 361.9 kB / 369.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002824/0.06055, allocations: 88.31 kB / 369.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.06068, allocations: 36.5 kB / 369.8 MB, free: 9.992 MB / 298.7 MB Notification: Performance of SimCode: time 4.8e-07/0.06068, allocations: 0 / 369.8 MB, free: 9.992 MB / 298.7 MB Notification: Performance of Templates: time 0.01723/0.07791, allocations: 7.773 MB / 377.5 MB, free: 2.281 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.537490678019822]