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.001074/0.001074, allocations: 88.22 kB / 19.65 MB, free: 272 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.001149/0.001149, allocations: 173 kB / 23.02 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 0.9939/0.9939, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.02613/0.02613, allocations: 6.493 MB / 266.4 MB, free: 6.613 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 1.974e-06/1.974e-06, allocations: 0 / 338.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.862e-05, allocations: 4.562 kB / 338.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.00348/0.003498, allocations: 3.879 MB / 342 MB, free: 6.871 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.005166, allocations: 1.947 MB / 343.9 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.005348, allocations: 11.94 kB / 343.9 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.005737, allocations: 218.6 kB / 344.1 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004393/0.006177, allocations: 302.3 kB / 344.4 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.006612, allocations: 383.1 kB / 344.8 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.007013, allocations: 0.6899 MB / 345.5 MB, free: 3.328 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.007301, allocations: 233.8 kB / 345.7 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.007639, allocations: 410.9 kB / 346.1 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.007877, allocations: 263.2 kB / 346.4 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.191e-05/0.007929, allocations: 68 kB / 346.5 MB, free: 2.367 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.008048, allocations: 127.9 kB / 346.6 MB, free: 2.242 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.008165, allocations: 235.2 kB / 346.8 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.008282, allocations: 215.3 kB / 347 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004642/0.008746, allocations: 0.6225 MB / 347.6 MB, free: 1.176 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.008749, allocations: 0 / 347.6 MB, free: 1.176 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.008749, allocations: 0 / 347.6 MB, free: 1.176 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.008756, allocations: 4 kB / 347.6 MB, free: 1.172 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.0009671/0.009723, allocations: 1.179 MB / 348.8 MB, free: 15.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.009758, allocations: 8.031 kB / 348.8 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.009889, allocations: 128.3 kB / 349 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/0.01039, allocations: 496.7 kB / 349.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.01043, allocations: 37.38 kB / 349.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.257e-05/0.01049, allocations: 51.38 kB / 349.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004968/0.01099, allocations: 399.8 kB / 349.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.011, allocations: 0 / 349.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.01103, allocations: 16 kB / 349.9 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.01104, allocations: 12 kB / 350 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.01131, allocations: 161.8 kB / 350.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.01292, allocations: 1.713 MB / 351.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.01324, allocations: 195.3 kB / 352 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.759e-05/0.01333, allocations: 59.66 kB / 352.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.01336, allocations: 8 kB / 352.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.01354, allocations: 125.5 kB / 352.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.01354, allocations: 4 kB / 352.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006762/0.01422, allocations: 384.7 kB / 352.6 MB, free: 12.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.01426, allocations: 63.34 kB / 352.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005819/0.01484, allocations: 0.7143 MB / 353.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.01486, allocations: 33.7 kB / 353.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.0151, allocations: 439.1 kB / 353.8 MB, free: 10.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.01515, allocations: 103.1 kB / 353.9 MB, free: 10.65 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.01525, allocations: 87.84 kB / 354 MB, free: 10.56 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.01542, allocations: 0.5625 MB / 354.6 MB, free: 9.984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.01554, allocations: 86.66 kB / 354.7 MB, free: 9.895 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.01568, allocations: 176.1 kB / 354.8 MB, free: 9.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.01592, allocations: 243 kB / 355.1 MB, free: 9.402 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01592, allocations: 0 / 355.1 MB, free: 9.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004759/0.0164, allocations: 436 kB / 355.5 MB, free: 8.953 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.01642, allocations: 29.7 kB / 355.5 MB, free: 8.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/0.01643, allocations: 4 kB / 355.5 MB, free: 8.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002143/0.01664, allocations: 67.52 kB / 355.6 MB, free: 8.844 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.0168, allocations: 75.89 kB / 355.7 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.01791, allocations: 2.133 MB / 357.8 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.01804, allocations: 43.77 kB / 357.8 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.01806, allocations: 15.94 kB / 357.9 MB, free: 6.457 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: 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.0001294/0.01819, allocations: 172.5 kB / 358 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.01826, allocations: 83.52 kB / 358.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/0.01864, allocations: 292 kB / 358.4 MB, free: 5.895 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01864, allocations: 4 kB / 358.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.01864, allocations: 0 / 358.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01865, allocations: 0 / 358.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.019, allocations: 452.2 kB / 358.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01901, allocations: 0 / 358.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.01913, allocations: 39.97 kB / 358.9 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001473/0.01928, allocations: 71.77 kB / 358.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.01929, allocations: 4 kB / 358.9 MB, free: 5.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009607/0.02025, allocations: 2.126 MB / 361.1 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.02026, allocations: 7.922 kB / 361.1 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.0207, allocations: 390.7 kB / 361.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/0.02078, allocations: 79.5 kB / 361.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.02081, allocations: 4 kB / 361.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.165e-05/0.0209, allocations: 19.98 kB / 361.6 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/0.02097, allocations: 27.94 kB / 361.6 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.02099, allocations: 12.19 kB / 361.6 MB, free: 2.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003818/0.02137, allocations: 458.9 kB / 362 MB, free: 2.055 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02137, allocations: 0 / 362 MB, free: 2.055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003312/0.0217, allocations: 143.6 kB / 362.2 MB, free: 1.914 MB / 282.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.001186/0.02289, allocations: 0.5661 MB / 362.8 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005185/0.0234, allocations: 462.1 kB / 363.2 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.02341, allocations: 4.125 kB / 363.2 MB, free: 1.086 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.02361, allocations: 277.4 kB / 363.5 MB, free: 0.793 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.02393, allocations: 106 kB / 363.6 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.02547, allocations: 1.184 MB / 364.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.02558, allocations: 177.1 kB / 364.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.02569, allocations: 64.33 kB / 365 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.02577, allocations: 40.5 kB / 365 MB, free: 15.17 MB / 298.7 MB Notification: Performance of SimCode: time 6.42e-07/0.02577, allocations: 0 / 365 MB, free: 15.17 MB / 298.7 MB Notification: Performance of Templates: time 0.009489/0.03526, allocations: 6.96 MB / 372 MB, free: 8.258 MB / 298.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: 2.973629028070718]