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.001157/0.001157, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001031/0.001031, allocations: 169 kB / 24.06 MB, free: 452 kB / 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/1, allocations: 177.1 MB / 204.5 MB, free: 5.473 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.03602/0.03602, allocations: 6.483 MB / 267.5 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 2.284e-06/2.284e-06, allocations: 0 / 339.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.729e-05, allocations: 6.312 kB / 339.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.00423/0.004258, allocations: 3.734 MB / 343 MB, free: 7.824 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.005984, allocations: 1.187 MB / 344.2 MB, free: 6.633 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/0.006248, allocations: 11.94 kB / 344.2 MB, free: 6.621 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.006658, allocations: 198.9 kB / 344.4 MB, free: 6.426 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005681/0.007226, allocations: 290.4 kB / 344.7 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007443/0.007971, allocations: 378.9 kB / 345.1 MB, free: 5.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005681/0.008539, allocations: 0.6509 MB / 345.7 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.008831, allocations: 191.9 kB / 345.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/0.009282, allocations: 382.9 kB / 346.3 MB, free: 4.555 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.009587, allocations: 255.3 kB / 346.5 MB, free: 4.305 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.298e-05/0.00964, allocations: 52 kB / 346.6 MB, free: 4.254 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.009821, allocations: 119.9 kB / 346.7 MB, free: 4.137 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.009984, allocations: 223.2 kB / 346.9 MB, free: 3.918 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.01012, allocations: 203.3 kB / 347.1 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005725/0.01069, allocations: 0.5837 MB / 347.7 MB, free: 3.133 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.0107, allocations: 0 / 347.7 MB, free: 3.133 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.0107, allocations: 0 / 347.7 MB, free: 3.133 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.01071, allocations: 0 / 347.7 MB, free: 3.133 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.001402/0.01211, allocations: 1.146 MB / 348.9 MB, free: 1.941 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.01215, allocations: 12.03 kB / 348.9 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.01227, allocations: 116.4 kB / 349 MB, free: 1.816 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.01273, allocations: 464.9 kB / 349.4 MB, free: 1.332 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.01277, allocations: 29.38 kB / 349.5 MB, free: 1.301 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.01282, allocations: 52.31 kB / 349.5 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.0132, allocations: 327.8 kB / 349.8 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.01322, allocations: 4 kB / 349.8 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.01324, allocations: 16 kB / 349.9 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.01325, allocations: 8 kB / 349.9 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.0134, allocations: 114.8 kB / 350 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.01478, allocations: 1.495 MB / 351.5 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.01503, allocations: 170.1 kB / 351.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.031e-05/0.01509, allocations: 43.67 kB / 351.7 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.01511, allocations: 4 kB / 351.7 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.01526, allocations: 121.5 kB / 351.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.01527, allocations: 4 kB / 351.8 MB, free: 14.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005699/0.01584, allocations: 340.4 kB / 352.1 MB, free: 14.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.01587, allocations: 55.41 kB / 352.2 MB, free: 14.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004758/0.01635, allocations: 0.6711 MB / 352.9 MB, free: 13.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.01637, allocations: 33.7 kB / 352.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.01659, allocations: 439 kB / 353.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.01664, allocations: 87.27 kB / 353.4 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.033e-05/0.01672, allocations: 87.67 kB / 353.5 MB, free: 13.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.01688, allocations: 0.574 MB / 354.1 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.566e-05/0.01694, allocations: 62.42 kB / 354.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.01706, allocations: 168.3 kB / 354.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.01723, allocations: 212.3 kB / 354.5 MB, free: 11.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01723, allocations: 0 / 354.5 MB, free: 11.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000367/0.01759, allocations: 394.7 kB / 354.9 MB, free: 11.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.01763, allocations: 37.64 kB / 354.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.01764, allocations: 7.984 kB / 354.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/0.01782, allocations: 55.64 kB / 355 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.01796, allocations: 67.91 kB / 355.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.01931, allocations: 2.107 MB / 357.2 MB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.01945, allocations: 43.66 kB / 357.2 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.01946, allocations: 12 kB / 357.2 MB, free: 9.137 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 (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.0001344/0.0196, allocations: 172.5 kB / 357.4 MB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.01966, allocations: 71.58 kB / 357.5 MB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.01996, allocations: 251 kB / 357.7 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01996, allocations: 4 kB / 357.7 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.01997, allocations: 3.984 kB / 357.7 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01997, allocations: 0 / 357.7 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.02025, allocations: 320.8 kB / 358 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.02025, allocations: 0 / 358 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.02036, allocations: 39.97 kB / 358.1 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001343/0.0205, allocations: 71.7 kB / 358.1 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.02051, allocations: 4 kB / 358.1 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009078/0.02141, allocations: 2.103 MB / 360.2 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.02142, allocations: 0 / 360.2 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.02174, allocations: 320.5 kB / 360.5 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/0.0218, allocations: 79.48 kB / 360.6 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.02183, allocations: 4 kB / 360.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.02191, allocations: 15.98 kB / 360.6 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.02197, allocations: 24.14 kB / 360.7 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.02198, allocations: 12 kB / 360.7 MB, free: 5.477 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002672/0.02225, allocations: 430.8 kB / 361.1 MB, free: 5.059 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02225, allocations: 0 / 361.1 MB, free: 5.059 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003455/0.02259, allocations: 135.6 kB / 361.2 MB, free: 4.926 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.001218/0.02381, allocations: 0.5623 MB / 361.8 MB, free: 4.602 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00041/0.02422, allocations: 430.6 kB / 362.2 MB, free: 4.141 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.02422, allocations: 4.062 kB / 362.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.02439, allocations: 265.3 kB / 362.5 MB, free: 3.855 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.02469, allocations: 90.77 kB / 362.6 MB, free: 3.766 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.02624, allocations: 1.109 MB / 363.7 MB, free: 2.617 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.02634, allocations: 173.1 kB / 363.8 MB, free: 2.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.02645, allocations: 52.25 kB / 363.9 MB, free: 2.375 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.02661, allocations: 150.2 kB / 364 MB, free: 2.227 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.02661, allocations: 0 / 364 MB, free: 2.227 MB / 330.7 MB Notification: Performance of Templates: time 0.009968/0.03658, allocations: 7.329 MB / 371.4 MB, free: 10.95 MB / 346.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.2438606531359255]