Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.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.001248/0.001248, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009814/0.0009814, allocations: 165 kB / 23.02 MB, free: 1.555 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.8988/0.8988, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.02586/0.02586, allocations: 6.475 MB / 266.4 MB, free: 6.645 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205e-05/1.398e-05, allocations: 2.312 kB / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.003114/0.003128, allocations: 3.812 MB / 341.9 MB, free: 6.965 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.004425, allocations: 1.191 MB / 343.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.004609, allocations: 11.94 kB / 343.1 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.004927, allocations: 202.8 kB / 343.3 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004089/0.005336, allocations: 290.4 kB / 343.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.005765, allocations: 371 kB / 343.9 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000414/0.006179, allocations: 0.6548 MB / 344.6 MB, free: 4.254 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.006415, allocations: 191.8 kB / 344.8 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.006702, allocations: 379 kB / 345.1 MB, free: 3.691 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.006897, allocations: 263.3 kB / 345.4 MB, free: 3.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.006942, allocations: 52 kB / 345.4 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.007051, allocations: 115.9 kB / 345.6 MB, free: 3.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.007159, allocations: 223.2 kB / 345.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.007265, allocations: 203.3 kB / 346 MB, free: 2.852 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000421/0.007686, allocations: 0.5837 MB / 346.6 MB, free: 2.266 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.007688, allocations: 0 / 346.6 MB, free: 2.266 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.007689, allocations: 0 / 346.6 MB, free: 2.266 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.007695, allocations: 4 kB / 346.6 MB, free: 2.262 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0008208/0.008516, allocations: 1.139 MB / 347.7 MB, free: 1.078 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.008544, allocations: 12.03 kB / 347.7 MB, free: 1.066 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.218e-05/0.008636, allocations: 116.4 kB / 347.8 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.008996, allocations: 480.9 kB / 348.3 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.009018, allocations: 33.38 kB / 348.3 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.169e-05/0.00906, allocations: 48.38 kB / 348.4 MB, free: 384 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.009401, allocations: 355.8 kB / 348.7 MB, free: 4 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.009415, allocations: 0 / 348.7 MB, free: 4 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.009452, allocations: 16.08 kB / 348.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.009462, allocations: 12 kB / 348.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.009685, allocations: 141.8 kB / 348.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.01119, allocations: 1.615 MB / 350.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.01148, allocations: 183.3 kB / 350.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.78e-05/0.01156, allocations: 55.66 kB / 350.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.01158, allocations: 4 kB / 350.7 MB, free: 13.9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.01173, allocations: 124.9 kB / 350.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.252e-06/0.01173, allocations: 0 / 350.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005996/0.01233, allocations: 369.1 kB / 351.2 MB, free: 13.39 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.01235, allocations: 55.41 kB / 351.3 MB, free: 13.33 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005445/0.0129, allocations: 0.7026 MB / 352 MB, free: 12.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.01292, allocations: 29.7 kB / 352 MB, free: 12.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.01312, allocations: 423.2 kB / 352.4 MB, free: 12.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.01317, allocations: 91.23 kB / 352.5 MB, free: 12.06 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.01325, allocations: 79.72 kB / 352.6 MB, free: 11.97 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.01341, allocations: 0.5741 MB / 353.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.632e-05/0.0135, allocations: 74.41 kB / 353.2 MB, free: 11.31 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.01363, allocations: 176.4 kB / 353.4 MB, free: 11.1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.01385, allocations: 236 kB / 353.6 MB, free: 10.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01385, allocations: 0 / 353.6 MB, free: 10.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004145/0.01427, allocations: 426.5 kB / 354.1 MB, free: 10.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.01429, allocations: 33.7 kB / 354.1 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.0143, allocations: 0 / 354.1 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/0.01449, allocations: 59.64 kB / 354.1 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.01463, allocations: 67.89 kB / 354.2 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.01564, allocations: 2.141 MB / 356.4 MB, free: 7.953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.01576, allocations: 43.72 kB / 356.4 MB, free: 7.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.01578, allocations: 12 kB / 356.4 MB, free: 7.898 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 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$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 (40): * Single equations (assignments): 38 * 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.0001217/0.0159, allocations: 175.1 kB / 356.6 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.01595, allocations: 83.55 kB / 356.7 MB, free: 7.637 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.01628, allocations: 263 kB / 356.9 MB, free: 7.367 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01628, allocations: 4 kB / 356.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.01628, allocations: 0 / 356.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01629, allocations: 0 / 356.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.0166, allocations: 432.2 kB / 357.3 MB, free: 6.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.0166, allocations: 0 / 357.3 MB, free: 6.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.01671, allocations: 35.97 kB / 357.4 MB, free: 6.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001332/0.01684, allocations: 67.83 kB / 357.4 MB, free: 6.801 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.01686, allocations: 4 kB / 357.4 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.01798, allocations: 2.126 MB / 359.6 MB, free: 4.555 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01798, allocations: 3.938 kB / 359.6 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/0.0184, allocations: 356.5 kB / 359.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.01847, allocations: 79.5 kB / 360 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.0185, allocations: 4 kB / 360 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.01858, allocations: 16.17 kB / 360 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.01864, allocations: 31.97 kB / 360.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.01866, allocations: 19.94 kB / 360.1 MB, free: 4.027 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003473/0.019, allocations: 455 kB / 360.5 MB, free: 3.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.019, allocations: 0 / 360.5 MB, free: 3.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003082/0.01931, allocations: 135.7 kB / 360.7 MB, free: 3.457 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: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * 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.001094/0.02041, allocations: 0.5598 MB / 361.2 MB, free: 3.125 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004295/0.02084, allocations: 446.6 kB / 361.6 MB, free: 2.648 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.02084, allocations: 0 / 361.6 MB, free: 2.648 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.02102, allocations: 273.5 kB / 361.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.02131, allocations: 99.8 kB / 362 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.02267, allocations: 1.121 MB / 363.1 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.976e-05/0.02277, allocations: 165.2 kB / 363.3 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.02288, allocations: 60.23 kB / 363.4 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.473e-05/0.02295, allocations: 36.5 kB / 363.4 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of SimCode: time 6.62e-07/0.02295, allocations: 0 / 363.4 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of Templates: time 0.008956/0.03191, allocations: 6.717 MB / 370.1 MB, free: 10.16 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7576293307356536]