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.0008887/0.0008887, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009721/0.0009721, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9455/0.9455, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.02551/0.02551, allocations: 6.486 MB / 266.7 MB, free: 6.457 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.974e-06/1.974e-06, allocations: 0 / 338.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.843e-05, allocations: 2.312 kB / 338.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.004066/0.004095, allocations: 3.724 MB / 342.2 MB, free: 6.781 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.00572, allocations: 1.187 MB / 343.4 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.005968, allocations: 11.94 kB / 343.4 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004364/0.006405, allocations: 202.8 kB / 343.6 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004713/0.006876, allocations: 286.3 kB / 343.9 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.007371, allocations: 367 kB / 344.3 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004357/0.007806, allocations: 0.6587 MB / 344.9 MB, free: 4.078 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.008066, allocations: 191.7 kB / 345.1 MB, free: 3.887 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003706/0.008437, allocations: 387 kB / 345.5 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.008664, allocations: 251.3 kB / 345.7 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.00871, allocations: 59.94 kB / 345.8 MB, free: 3.203 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.008841, allocations: 111.9 kB / 345.9 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.008978, allocations: 227.2 kB / 346.1 MB, free: 2.871 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.009103, allocations: 199.4 kB / 346.3 MB, free: 2.676 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.009566, allocations: 0.5759 MB / 346.9 MB, free: 2.098 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.009569, allocations: 0 / 346.9 MB, free: 2.098 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.009571, allocations: 4 kB / 346.9 MB, free: 2.094 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.009577, allocations: 0 / 346.9 MB, free: 2.094 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.0008965/0.01047, allocations: 1.146 MB / 348.1 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.01051, allocations: 8.031 kB / 348.1 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.01062, allocations: 120.4 kB / 348.2 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.01098, allocations: 464.9 kB / 348.6 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.011, allocations: 33.38 kB / 348.7 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.01104, allocations: 44.38 kB / 348.7 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.01141, allocations: 327.8 kB / 349 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.01143, allocations: 0 / 349 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.01145, allocations: 16 kB / 349 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.01146, allocations: 12 kB / 349.1 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.01162, allocations: 118.8 kB / 349.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.01332, allocations: 1.503 MB / 350.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.01358, allocations: 169.4 kB / 350.8 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.01363, allocations: 43.66 kB / 350.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.01367, allocations: 12 kB / 350.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004393/0.01411, allocations: 120.8 kB / 351 MB, free: 13.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 2.204e-06/0.01411, allocations: 3.984 kB / 351 MB, free: 13.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005683/0.01468, allocations: 337.7 kB / 351.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.01471, allocations: 55.41 kB / 351.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005697/0.01528, allocations: 0.6788 MB / 352.1 MB, free: 12.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.01531, allocations: 29.7 kB / 352.1 MB, free: 12.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.01555, allocations: 431.1 kB / 352.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.0156, allocations: 95.22 kB / 352.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.0157, allocations: 83.67 kB / 352.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.0159, allocations: 0.5818 MB / 353.3 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.799e-05/0.01597, allocations: 70.41 kB / 353.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.01608, allocations: 160.4 kB / 353.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.01638, allocations: 216 kB / 353.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01638, allocations: 0 / 353.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003759/0.01676, allocations: 386.5 kB / 354.1 MB, free: 10.53 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.01679, allocations: 41.64 kB / 354.1 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.0168, allocations: 4 kB / 354.1 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001809/0.01698, allocations: 55.86 kB / 354.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.01711, allocations: 71.89 kB / 354.3 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.01816, allocations: 2.095 MB / 356.4 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.01828, allocations: 47.67 kB / 356.4 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.0183, allocations: 15.98 kB / 356.4 MB, free: 8.078 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 (ice.tokgFuel.local_reset,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1) * 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.000127/0.01843, allocations: 179.4 kB / 356.6 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.01848, allocations: 71.58 kB / 356.7 MB, free: 7.824 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.01877, allocations: 243 kB / 356.9 MB, free: 7.574 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.01878, allocations: 0 / 356.9 MB, free: 7.574 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.01878, allocations: 4 kB / 356.9 MB, free: 7.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01878, allocations: 3.984 kB / 356.9 MB, free: 7.566 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006761/0.01946, allocations: 324.8 kB / 357.2 MB, free: 7.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.01946, allocations: 0 / 357.2 MB, free: 7.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.01957, allocations: 43.92 kB / 357.3 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001252/0.0197, allocations: 59.56 kB / 357.3 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.01971, allocations: 8 kB / 357.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009209/0.02063, allocations: 2.107 MB / 359.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.02063, allocations: 0 / 359.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.02098, allocations: 323.3 kB / 359.8 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.02104, allocations: 75.44 kB / 359.8 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.02108, allocations: 7.984 kB / 359.9 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.02116, allocations: 15.98 kB / 359.9 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.02122, allocations: 23.95 kB / 359.9 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.02123, allocations: 8 kB / 359.9 MB, free: 4.422 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002847/0.02151, allocations: 422.8 kB / 360.3 MB, free: 4.016 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02151, allocations: 4.031 kB / 360.3 MB, free: 4.012 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003638/0.02188, allocations: 135.7 kB / 360.4 MB, free: 3.879 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.001463/0.02334, allocations: 0.5556 MB / 361 MB, free: 3.551 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003988/0.02374, allocations: 430.2 kB / 361.4 MB, free: 3.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.02374, allocations: 0 / 361.4 MB, free: 3.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.02392, allocations: 265.9 kB / 361.7 MB, free: 2.809 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.02424, allocations: 109 kB / 361.8 MB, free: 2.703 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.02579, allocations: 1.114 MB / 362.9 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.02591, allocations: 173.1 kB / 363.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000112/0.02602, allocations: 52.25 kB / 363.1 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.02618, allocations: 146.2 kB / 363.3 MB, free: 1.168 MB / 282.7 MB Notification: Performance of SimCode: time 8.71e-07/0.02618, allocations: 3.938 kB / 363.3 MB, free: 1.164 MB / 282.7 MB Notification: Performance of Templates: time 0.01001/0.0362, allocations: 7.193 MB / 370.5 MB, free: 10.06 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: 3.0399794429540634]