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.001241/0.001241, allocations: 77.09 kB / 20.66 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.001318/0.001318, allocations: 169 kB / 24.06 MB, free: 456 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.051/1.051, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.0272/0.0272, allocations: 6.505 MB / 267.5 MB, free: 6.473 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 1.724e-06/1.724e-06, allocations: 0 / 339.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.26e-05, allocations: 2.312 kB / 339.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.004175/0.004198, allocations: 3.734 MB / 343.1 MB, free: 6.758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.005807, allocations: 1.172 MB / 344.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002631/0.00607, allocations: 11.94 kB / 344.2 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000408/0.006478, allocations: 202.8 kB / 344.4 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.007009, allocations: 286.4 kB / 344.7 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005847/0.007594, allocations: 371 kB / 345.1 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.008102, allocations: 0.6626 MB / 345.7 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002896/0.008392, allocations: 191.8 kB / 345.9 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003905/0.008782, allocations: 383 kB / 346.3 MB, free: 3.496 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.009038, allocations: 247.3 kB / 346.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.496e-05/0.009093, allocations: 56 kB / 346.6 MB, free: 3.199 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.00924, allocations: 111.9 kB / 346.7 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.009378, allocations: 227.2 kB / 346.9 MB, free: 2.867 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.009515, allocations: 207.3 kB / 347.1 MB, free: 2.664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005406/0.01006, allocations: 0.5837 MB / 347.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.01006, allocations: 7.938 kB / 347.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.01006, allocations: 0 / 347.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.01007, allocations: 0 / 347.7 MB, free: 2.07 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.001011/0.01108, allocations: 1.135 MB / 348.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.01111, allocations: 8.031 kB / 348.9 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.01123, allocations: 124.4 kB / 349 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.01165, allocations: 464.9 kB / 349.4 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.01168, allocations: 29.38 kB / 349.5 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.01172, allocations: 48.36 kB / 349.5 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.01215, allocations: 323.8 kB / 349.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.01217, allocations: 3.938 kB / 349.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.0122, allocations: 16 kB / 349.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.01221, allocations: 12 kB / 349.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.01241, allocations: 126.8 kB / 350 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.01408, allocations: 1.491 MB / 351.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.01438, allocations: 163.4 kB / 351.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.578e-05/0.01446, allocations: 45.62 kB / 351.7 MB, free: 13.94 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.01448, allocations: 8 kB / 351.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.01466, allocations: 112.9 kB / 351.8 MB, free: 13.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 2.013e-06/0.01466, allocations: 0 / 351.8 MB, free: 13.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007243/0.01538, allocations: 337.8 kB / 352.1 MB, free: 13.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.01541, allocations: 55.41 kB / 352.2 MB, free: 13.4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00063/0.01604, allocations: 0.6788 MB / 352.9 MB, free: 12.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.01607, allocations: 29.7 kB / 352.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.01636, allocations: 435 kB / 353.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.01642, allocations: 91.23 kB / 353.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.01653, allocations: 87.67 kB / 353.5 MB, free: 12.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.01674, allocations: 0.5779 MB / 354.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/0.01683, allocations: 66.41 kB / 354.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.01696, allocations: 160.4 kB / 354.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.01719, allocations: 220 kB / 354.5 MB, free: 10.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01719, allocations: 4 kB / 354.5 MB, free: 10.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004944/0.01769, allocations: 382.5 kB / 354.9 MB, free: 10.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.01772, allocations: 41.64 kB / 354.9 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.01773, allocations: 7.984 kB / 354.9 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.01794, allocations: 63.86 kB / 355 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.01813, allocations: 71.84 kB / 355.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.01938, allocations: 2.087 MB / 357.2 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.01955, allocations: 51.66 kB / 357.2 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.01957, allocations: 16.03 kB / 357.2 MB, free: 8.074 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.0001553/0.01973, allocations: 175.4 kB / 357.4 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.01981, allocations: 75.58 kB / 357.5 MB, free: 7.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.02019, allocations: 251.2 kB / 357.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.02019, allocations: 0 / 357.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.0202, allocations: 0 / 357.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.0202, allocations: 0 / 357.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.02056, allocations: 328.8 kB / 358 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.02057, allocations: 4.188 kB / 358 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.02072, allocations: 43.92 kB / 358.1 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001681/0.02089, allocations: 55.58 kB / 358.1 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.0209, allocations: 11.98 kB / 358.1 MB, free: 7.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.02207, allocations: 2.095 MB / 360.2 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.02207, allocations: 192 / 360.2 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.02251, allocations: 331.3 kB / 360.6 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.201e-05/0.02259, allocations: 71.5 kB / 360.6 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.02264, allocations: 8 kB / 360.6 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.02275, allocations: 15.98 kB / 360.7 MB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.02281, allocations: 23.95 kB / 360.7 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.02283, allocations: 19.95 kB / 360.7 MB, free: 4.406 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003566/0.02318, allocations: 426.8 kB / 361.1 MB, free: 3.996 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02318, allocations: 0 / 361.1 MB, free: 3.996 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004552/0.02364, allocations: 127.7 kB / 361.2 MB, free: 3.871 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.001522/0.02516, allocations: 0.5647 MB / 361.8 MB, free: 3.535 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004644/0.02563, allocations: 422.2 kB / 362.2 MB, free: 3.082 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.02563, allocations: 4 kB / 362.2 MB, free: 3.078 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.02585, allocations: 265.7 kB / 362.5 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.02624, allocations: 98.53 kB / 362.6 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.02796, allocations: 1.113 MB / 363.7 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.0281, allocations: 169.1 kB / 363.9 MB, free: 1.363 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.02823, allocations: 56.23 kB / 363.9 MB, free: 1.309 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.02843, allocations: 142.2 kB / 364 MB, free: 1.168 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02843, allocations: 4 kB / 364.1 MB, free: 1.164 MB / 282.7 MB Notification: Performance of Templates: time 0.01211/0.04054, allocations: 7.342 MB / 371.4 MB, free: 9.883 MB / 298.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.127072547096759]