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.0008655/0.0008655, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001498/0.001498, allocations: 169 kB / 23.28 MB, free: 1.223 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.099/1.099, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.0286/0.0286, allocations: 6.5 MB / 266.7 MB, free: 6.469 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 2.876e-06/2.876e-06, allocations: 0 / 338.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.515e-05, allocations: 6.25 kB / 338.5 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.00483/0.004855, allocations: 3.797 MB / 342.3 MB, free: 7.734 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.007532, allocations: 1.94 MB / 344.3 MB, free: 5.789 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003412/0.007874, allocations: 11.94 kB / 344.3 MB, free: 5.777 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005045/0.008378, allocations: 218.6 kB / 344.5 MB, free: 5.562 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006809/0.009059, allocations: 294.3 kB / 344.8 MB, free: 5.273 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006264/0.009685, allocations: 379.1 kB / 345.2 MB, free: 4.902 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006813/0.01037, allocations: 0.6977 MB / 345.9 MB, free: 4.203 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.01074, allocations: 221.8 kB / 346.1 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005089/0.01125, allocations: 410.9 kB / 346.5 MB, free: 3.586 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/0.01156, allocations: 275.2 kB / 346.7 MB, free: 3.316 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.044e-05/0.01164, allocations: 60 kB / 346.8 MB, free: 3.258 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.0118, allocations: 119.9 kB / 346.9 MB, free: 3.141 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.01199, allocations: 235.2 kB / 347.1 MB, free: 2.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.01216, allocations: 223.3 kB / 347.4 MB, free: 2.691 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006127/0.01277, allocations: 0.6225 MB / 348 MB, free: 2.066 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01277, allocations: 0 / 348 MB, free: 2.066 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.01277, allocations: 0 / 348 MB, free: 2.066 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.01278, allocations: 0 / 348 MB, free: 2.066 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.001264/0.01404, allocations: 1.177 MB / 349.2 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.01409, allocations: 12.03 kB / 349.2 MB, free: 0.832 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.01424, allocations: 140.3 kB / 349.3 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.0147, allocations: 472.8 kB / 349.8 MB, free: 208 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.01475, allocations: 41.36 kB / 349.8 MB, free: 164 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/0.01481, allocations: 52.31 kB / 349.9 MB, free: 112 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/0.01525, allocations: 375.7 kB / 350.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.01527, allocations: 0 / 350.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.01529, allocations: 20 kB / 350.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.0153, allocations: 12 kB / 350.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.01547, allocations: 130.8 kB / 350.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.01699, allocations: 1.573 MB / 352 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.01725, allocations: 190 kB / 352.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.75e-05/0.01732, allocations: 55.64 kB / 352.2 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.01736, allocations: 11.98 kB / 352.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.01753, allocations: 121 kB / 352.3 MB, free: 13.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.01754, allocations: 0 / 352.3 MB, free: 13.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006075/0.01814, allocations: 352.5 kB / 352.7 MB, free: 13.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.01818, allocations: 59.41 kB / 352.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000525/0.0187, allocations: 0.6865 MB / 353.4 MB, free: 12.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.01873, allocations: 37.7 kB / 353.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.019, allocations: 443 kB / 353.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/0.01906, allocations: 111.1 kB / 354 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.503e-05/0.01916, allocations: 91.75 kB / 354.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.01937, allocations: 0.5702 MB / 354.7 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.01945, allocations: 70.66 kB / 354.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.01958, allocations: 171.9 kB / 354.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.01979, allocations: 219 kB / 355.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01979, allocations: 0 / 355.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004344/0.02023, allocations: 403.8 kB / 355.5 MB, free: 10.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.02026, allocations: 33.7 kB / 355.5 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.02027, allocations: 0 / 355.5 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000204/0.02047, allocations: 63.86 kB / 355.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.02062, allocations: 75.83 kB / 355.7 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.02177, allocations: 2.107 MB / 357.8 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.0219, allocations: 43.8 kB / 357.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.02192, allocations: 12 kB / 357.8 MB, free: 7.715 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 (ice.tokgFuel.local_reset,stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1) * 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.0001401/0.02206, allocations: 180.5 kB / 358 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.02212, allocations: 79.47 kB / 358.1 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.02243, allocations: 265.1 kB / 358.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.02244, allocations: 4 kB / 358.4 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.02244, allocations: 3.938 kB / 358.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.02244, allocations: 11.97 kB / 358.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.02274, allocations: 336.8 kB / 358.7 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.02275, allocations: 0 / 358.7 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.02286, allocations: 39.97 kB / 358.7 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/0.02299, allocations: 59.58 kB / 358.8 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.023, allocations: 7.984 kB / 358.8 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009885/0.02399, allocations: 2.103 MB / 360.9 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.02399, allocations: 0 / 360.9 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.02435, allocations: 349.6 kB / 361.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/0.02442, allocations: 75.48 kB / 361.3 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.02445, allocations: 4 kB / 361.3 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.02454, allocations: 24.02 kB / 361.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.0246, allocations: 35.88 kB / 361.4 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.02461, allocations: 4 kB / 361.4 MB, free: 3.969 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002881/0.02489, allocations: 430.8 kB / 361.8 MB, free: 3.555 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02489, allocations: 0 / 361.8 MB, free: 3.555 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003208/0.02521, allocations: 143.6 kB / 361.9 MB, free: 3.414 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.001223/0.02644, allocations: 0.5705 MB / 362.5 MB, free: 3.074 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.02684, allocations: 441.8 kB / 363 MB, free: 2.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.02685, allocations: 0 / 363 MB, free: 2.605 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.02704, allocations: 269.8 kB / 363.2 MB, free: 2.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.02733, allocations: 104.4 kB / 363.3 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.02883, allocations: 1.184 MB / 364.5 MB, free: 1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.02894, allocations: 169.2 kB / 364.7 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.02905, allocations: 52.34 kB / 364.7 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.02926, allocations: 150.2 kB / 364.9 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02926, allocations: 8 kB / 364.9 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of Templates: time 0.0108/0.04006, allocations: 7.452 MB / 372.3 MB, free: 9.238 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.2081252080388367]