Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.000984/0.000984, 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.001115/0.001115, allocations: 173 kB / 23.02 MB, free: 1.551 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.07/1.07, allocations: 177.2 MB / 203.4 MB, free: 5.641 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.02691/0.02691, allocations: 6.492 MB / 266.4 MB, free: 6.637 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.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.747e-06/3.747e-06, allocations: 0 / 338.1 MB, free: 11.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.546e-05/3.92e-05, allocations: 6.25 kB / 338.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006019/0.006058, allocations: 3.824 MB / 341.9 MB, free: 8.016 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.008124, allocations: 1.191 MB / 343.1 MB, free: 6.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003424/0.008467, allocations: 11.94 kB / 343.1 MB, free: 6.809 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000511/0.008978, allocations: 206.8 kB / 343.3 MB, free: 6.605 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006783/0.009656, allocations: 286.3 kB / 343.6 MB, free: 6.324 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/0.01036, allocations: 367 kB / 343.9 MB, free: 5.965 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008982/0.01125, allocations: 0.6587 MB / 344.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004791/0.01173, allocations: 187.9 kB / 344.8 MB, free: 5.121 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007811/0.01251, allocations: 379 kB / 345.2 MB, free: 4.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.01291, allocations: 259.3 kB / 345.4 MB, free: 4.496 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.01298, allocations: 56 kB / 345.5 MB, free: 4.441 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.01317, allocations: 111.9 kB / 345.6 MB, free: 4.332 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.01336, allocations: 223.2 kB / 345.8 MB, free: 4.113 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.01353, allocations: 207.4 kB / 346 MB, free: 3.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007703/0.0143, allocations: 0.5836 MB / 346.6 MB, free: 3.324 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.01431, allocations: 0 / 346.6 MB, free: 3.324 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01431, allocations: 0 / 346.6 MB, free: 3.324 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.01433, allocations: 0 / 346.6 MB, free: 3.324 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001543/0.01587, allocations: 1.143 MB / 347.7 MB, free: 2.137 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.01592, allocations: 8.031 kB / 347.7 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.0161, allocations: 128.4 kB / 347.9 MB, free: 2.004 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/0.01667, allocations: 476.9 kB / 348.3 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/0.01671, allocations: 33.38 kB / 348.4 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.01677, allocations: 48.38 kB / 348.4 MB, free: 1.426 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.01728, allocations: 351.8 kB / 348.7 MB, free: 1.055 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.0173, allocations: 7.984 kB / 348.7 MB, free: 1.047 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.01733, allocations: 16 kB / 348.8 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.01734, allocations: 8 kB / 348.8 MB, free: 1.023 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.01758, allocations: 141.8 kB / 348.9 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.01932, allocations: 1.627 MB / 350.5 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.01969, allocations: 175.4 kB / 350.7 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.139e-05/0.01977, allocations: 47.67 kB / 350.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.0198, allocations: 4 kB / 350.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.01999, allocations: 137.5 kB / 350.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 4.208e-06/0.02, allocations: 0 / 350.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007259/0.02072, allocations: 352.5 kB / 351.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.02077, allocations: 59.34 kB / 351.3 MB, free: 14.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005803/0.02135, allocations: 0.7026 MB / 352 MB, free: 13.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.02137, allocations: 29.7 kB / 352 MB, free: 13.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.02161, allocations: 427.1 kB / 352.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/0.02167, allocations: 95.28 kB / 352.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.892e-05/0.02176, allocations: 79.72 kB / 352.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.02194, allocations: 0.5703 MB / 353.2 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.02205, allocations: 78.42 kB / 353.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.02219, allocations: 168.4 kB / 353.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.02242, allocations: 236.3 kB / 353.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.02242, allocations: 4 kB / 353.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004624/0.02289, allocations: 414.5 kB / 354.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.02292, allocations: 33.7 kB / 354.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.02293, allocations: 0 / 354.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002503/0.02318, allocations: 71.56 kB / 354.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.02334, allocations: 63.91 kB / 354.2 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.02457, allocations: 2.141 MB / 356.4 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.02471, allocations: 39.72 kB / 356.4 MB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.02474, allocations: 16 kB / 356.4 MB, free: 8.961 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: 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.0001371/0.02487, allocations: 176.5 kB / 356.6 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.02494, allocations: 75.58 kB / 356.7 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.0253, allocations: 263 kB / 356.9 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.0253, allocations: 0 / 356.9 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.0253, allocations: 0 / 356.9 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.02531, allocations: 4 kB / 356.9 MB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.02565, allocations: 436.2 kB / 357.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.02565, allocations: 0 / 357.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.02577, allocations: 39.92 kB / 357.4 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001452/0.02592, allocations: 59.64 kB / 357.5 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.02593, allocations: 11.98 kB / 357.5 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.02695, allocations: 2.133 MB / 359.6 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.02695, allocations: 0 / 359.6 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004089/0.02736, allocations: 352.5 kB / 359.9 MB, free: 5.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.02743, allocations: 79.5 kB / 360 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.02746, allocations: 8 kB / 360 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.02755, allocations: 15.98 kB / 360 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.02762, allocations: 27.89 kB / 360.1 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.02763, allocations: 11.94 kB / 360.1 MB, free: 5.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003712/0.028, allocations: 458.9 kB / 360.5 MB, free: 4.645 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.028, allocations: 0 / 360.5 MB, free: 4.645 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003677/0.02837, allocations: 139.6 kB / 360.7 MB, free: 4.508 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: 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.001296/0.02967, allocations: 0.5598 MB / 361.2 MB, free: 4.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000518/0.03019, allocations: 446.4 kB / 361.7 MB, free: 3.703 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.03019, allocations: 4.125 kB / 361.7 MB, free: 3.699 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.03039, allocations: 269.3 kB / 361.9 MB, free: 3.414 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.03072, allocations: 101 kB / 362 MB, free: 3.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.0324, allocations: 1.121 MB / 363.2 MB, free: 2.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.877e-05/0.0325, allocations: 161.2 kB / 363.3 MB, free: 1.984 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.03262, allocations: 60.23 kB / 363.4 MB, free: 1.922 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.513e-05/0.0327, allocations: 40.5 kB / 363.4 MB, free: 1.883 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.0327, allocations: 0 / 363.4 MB, free: 1.883 MB / 330.7 MB Notification: Performance of Templates: time 0.01126/0.04396, allocations: 7.07 MB / 370.5 MB, free: 10.87 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.086958250962198]