Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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.001027/0.001027, allocations: 93.06 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.001288/0.001288, allocations: 169 kB / 23.02 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.041/1.041, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.02598/0.02598, allocations: 6.495 MB / 266.4 MB, free: 6.602 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.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.477e-06/3.477e-06, allocations: 0 / 338.1 MB, free: 11.85 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.612e-05/3.96e-05, allocations: 2.312 kB / 338.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006187/0.006227, allocations: 3.883 MB / 342 MB, free: 7.934 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003236/0.009463, allocations: 1.943 MB / 343.9 MB, free: 5.984 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004764/0.009939, allocations: 11.94 kB / 343.9 MB, free: 5.973 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000558/0.0105, allocations: 214.7 kB / 344.1 MB, free: 5.762 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007434/0.01124, allocations: 294.3 kB / 344.4 MB, free: 5.473 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.01198, allocations: 379.1 kB / 344.8 MB, free: 5.102 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007137/0.01269, allocations: 0.7054 MB / 345.5 MB, free: 4.395 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003882/0.01308, allocations: 217.9 kB / 345.7 MB, free: 4.184 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005591/0.01364, allocations: 414.9 kB / 346.1 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.01396, allocations: 271.2 kB / 346.4 MB, free: 3.512 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.91e-05/0.01402, allocations: 60 kB / 346.4 MB, free: 3.453 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.01422, allocations: 127.8 kB / 346.6 MB, free: 3.328 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.01439, allocations: 235.2 kB / 346.8 MB, free: 3.098 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.01457, allocations: 223.3 kB / 347 MB, free: 2.879 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006799/0.01525, allocations: 0.6187 MB / 347.6 MB, free: 2.258 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.01526, allocations: 0 / 347.6 MB, free: 2.258 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.01526, allocations: 0 / 347.6 MB, free: 2.258 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.01527, allocations: 0 / 347.6 MB, free: 2.258 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001212/0.01648, allocations: 1.178 MB / 348.8 MB, free: 1.035 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.01653, allocations: 8.031 kB / 348.8 MB, free: 1.027 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.01668, allocations: 140.3 kB / 349 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004858/0.01716, allocations: 492.8 kB / 349.4 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.0172, allocations: 37.38 kB / 349.5 MB, free: 348 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.626e-05/0.01726, allocations: 52.33 kB / 349.5 MB, free: 296 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008161/0.01807, allocations: 399.7 kB / 349.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.01809, allocations: 0 / 349.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.01812, allocations: 23.98 kB / 349.9 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.01813, allocations: 12 kB / 350 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.01838, allocations: 165.8 kB / 350.1 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.0201, allocations: 1.701 MB / 351.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.02043, allocations: 199.3 kB / 352 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.789e-05/0.02051, allocations: 59.66 kB / 352.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.02054, allocations: 4 kB / 352.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.02073, allocations: 137 kB / 352.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.863e-06/0.02073, allocations: 0 / 352.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006895/0.02142, allocations: 376.7 kB / 352.6 MB, free: 13.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.02146, allocations: 55.41 kB / 352.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006163/0.02208, allocations: 0.7181 MB / 353.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.0221, allocations: 29.7 kB / 353.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/0.02235, allocations: 443.1 kB / 353.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.979e-05/0.02241, allocations: 103.2 kB / 353.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.89e-05/0.0225, allocations: 95.8 kB / 354 MB, free: 11.63 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.0227, allocations: 0.5665 MB / 354.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.02281, allocations: 86.59 kB / 354.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.02297, allocations: 179.9 kB / 354.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.02321, allocations: 243 kB / 355.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.02322, allocations: 0 / 355.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006253/0.02384, allocations: 423.9 kB / 355.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.02388, allocations: 33.7 kB / 355.5 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.02389, allocations: 3.984 kB / 355.5 MB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/0.02416, allocations: 63.86 kB / 355.6 MB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.02437, allocations: 71.89 kB / 355.6 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.02599, allocations: 2.141 MB / 357.8 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.02617, allocations: 43.8 kB / 357.8 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.0262, allocations: 16 kB / 357.8 MB, free: 7.527 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: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * 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.0001722/0.02637, allocations: 184.4 kB / 358 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.458e-05/0.02646, allocations: 75.53 kB / 358.1 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004664/0.02692, allocations: 289 kB / 358.4 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.02693, allocations: 4 kB / 358.4 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.02693, allocations: 0 / 358.4 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.02693, allocations: 3.938 kB / 358.4 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.0274, allocations: 448.2 kB / 358.8 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.02741, allocations: 4 kB / 358.8 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.02756, allocations: 43.91 kB / 358.9 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001759/0.02774, allocations: 59.83 kB / 358.9 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.02776, allocations: 11.98 kB / 358.9 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.02897, allocations: 2.129 MB / 361.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.02897, allocations: 4 kB / 361.1 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/0.02953, allocations: 373.6 kB / 361.4 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-05/0.02963, allocations: 83.44 kB / 361.5 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.02967, allocations: 8 kB / 361.5 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.02979, allocations: 15.98 kB / 361.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.914e-05/0.02988, allocations: 39.91 kB / 361.6 MB, free: 3.574 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.0299, allocations: 8.188 kB / 361.6 MB, free: 3.566 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004784/0.03038, allocations: 466.9 kB / 362.1 MB, free: 3.117 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03038, allocations: 0 / 362.1 MB, free: 3.117 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005146/0.03089, allocations: 143.6 kB / 362.2 MB, free: 2.977 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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.001679/0.03257, allocations: 0.5683 MB / 362.8 MB, free: 2.641 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006711/0.03324, allocations: 457.9 kB / 363.2 MB, free: 2.156 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.03324, allocations: 3.938 kB / 363.2 MB, free: 2.152 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.03353, allocations: 277.4 kB / 363.5 MB, free: 1.859 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.03398, allocations: 106.4 kB / 363.6 MB, free: 1.758 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.03637, allocations: 1.18 MB / 364.8 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.03651, allocations: 173.2 kB / 364.9 MB, free: 356 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001566/0.03666, allocations: 56.34 kB / 365 MB, free: 300 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.03676, allocations: 36.5 kB / 365 MB, free: 264 kB / 330.7 MB Notification: Performance of SimCode: time 1.292e-06/0.03676, allocations: 0 / 365 MB, free: 264 kB / 330.7 MB Notification: Performance of Templates: time 0.0137/0.05046, allocations: 7.314 MB / 372.3 MB, free: 8.996 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2804988380521536]