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.001108/0.001108, allocations: 86.05 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.001118/0.001118, allocations: 170 kB / 23.27 MB, free: 1.223 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.122/1.122, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.0262/0.0262, allocations: 6.499 MB / 266.7 MB, free: 6.461 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 2.434e-06/2.434e-06, allocations: 0 / 338.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/2.051e-05, allocations: 6.25 kB / 338.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.004647/0.004668, allocations: 3.732 MB / 342.3 MB, free: 7.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.006813, allocations: 1.195 MB / 343.5 MB, free: 6.621 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003949/0.007208, allocations: 11.94 kB / 343.5 MB, free: 6.609 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005204/0.007728, allocations: 202.8 kB / 343.7 MB, free: 6.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000588/0.008316, allocations: 282.4 kB / 343.9 MB, free: 6.133 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006637/0.00898, allocations: 367 kB / 344.3 MB, free: 5.773 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007526/0.009733, allocations: 0.6625 MB / 345 MB, free: 5.109 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000384/0.01012, allocations: 187.9 kB / 345.1 MB, free: 4.926 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006629/0.01078, allocations: 379 kB / 345.5 MB, free: 4.555 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003027/0.01108, allocations: 255.2 kB / 345.8 MB, free: 4.305 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.004e-05/0.01114, allocations: 56 kB / 345.8 MB, free: 4.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.01131, allocations: 115.8 kB / 345.9 MB, free: 4.137 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.01148, allocations: 223.3 kB / 346.2 MB, free: 3.918 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.01164, allocations: 211.3 kB / 346.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005968/0.01223, allocations: 0.5798 MB / 346.9 MB, free: 3.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.01224, allocations: 0 / 346.9 MB, free: 3.129 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01224, allocations: 0 / 346.9 MB, free: 3.129 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.01225, allocations: 0 / 346.9 MB, free: 3.129 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.001094/0.01334, allocations: 1.146 MB / 348.1 MB, free: 1.938 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.01338, allocations: 12.02 kB / 348.1 MB, free: 1.926 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.0135, allocations: 124.4 kB / 348.2 MB, free: 1.805 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.01394, allocations: 456.9 kB / 348.7 MB, free: 1.328 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.01398, allocations: 29.38 kB / 348.7 MB, free: 1.297 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.01403, allocations: 48.36 kB / 348.7 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.0144, allocations: 331.7 kB / 349.1 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.01442, allocations: 3.984 kB / 349.1 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.01444, allocations: 16 kB / 349.1 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.01445, allocations: 8 kB / 349.1 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.0146, allocations: 126.8 kB / 349.2 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.01601, allocations: 1.483 MB / 350.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.01627, allocations: 171.4 kB / 350.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.864e-05/0.01632, allocations: 43.66 kB / 350.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.01636, allocations: 7.984 kB / 350.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.01652, allocations: 125.5 kB / 351 MB, free: 14.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.894e-06/0.01652, allocations: 0 / 351 MB, free: 14.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005815/0.0171, allocations: 336.4 kB / 351.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.01714, allocations: 55.41 kB / 351.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005236/0.01766, allocations: 0.6711 MB / 352.1 MB, free: 13.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.01769, allocations: 33.7 kB / 352.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.01794, allocations: 439 kB / 352.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.01801, allocations: 99.25 kB / 352.7 MB, free: 13.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/0.0181, allocations: 79.69 kB / 352.7 MB, free: 13.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.01832, allocations: 0.578 MB / 353.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-05/0.0184, allocations: 66.42 kB / 353.4 MB, free: 12.42 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.01853, allocations: 156.4 kB / 353.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.01873, allocations: 224.3 kB / 353.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01873, allocations: 0 / 353.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000408/0.01914, allocations: 382.5 kB / 354.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.01918, allocations: 41.64 kB / 354.2 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.01919, allocations: 3.984 kB / 354.2 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.01939, allocations: 63.84 kB / 354.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.01954, allocations: 63.91 kB / 354.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.02077, allocations: 2.099 MB / 356.4 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.02091, allocations: 55.69 kB / 356.4 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.02092, allocations: 8 kB / 356.4 MB, free: 9.121 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.000141/0.02107, allocations: 176.5 kB / 356.6 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.02113, allocations: 75.58 kB / 356.7 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.02143, allocations: 239 kB / 356.9 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.02143, allocations: 7.984 kB / 356.9 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.02143, allocations: 0 / 356.9 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.02144, allocations: 0 / 356.9 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.02173, allocations: 324.8 kB / 357.3 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.02173, allocations: 0 / 357.3 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.02184, allocations: 43.97 kB / 357.3 MB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.02197, allocations: 59.56 kB / 357.4 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.02199, allocations: 11.94 kB / 357.4 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.02301, allocations: 2.111 MB / 359.5 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.02301, allocations: 0 / 359.5 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.02337, allocations: 324.4 kB / 359.8 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/0.02344, allocations: 71.48 kB / 359.9 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.02347, allocations: 8 kB / 359.9 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.02355, allocations: 15.98 kB / 359.9 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.0236, allocations: 27.98 kB / 359.9 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.02362, allocations: 8 kB / 359.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002988/0.02391, allocations: 422.8 kB / 360.3 MB, free: 5.043 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02391, allocations: 4 kB / 360.3 MB, free: 5.039 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003279/0.02424, allocations: 131.6 kB / 360.5 MB, free: 4.91 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.001223/0.02547, allocations: 0.5691 MB / 361 MB, free: 4.574 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004183/0.02588, allocations: 430.2 kB / 361.5 MB, free: 4.113 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02589, allocations: 0 / 361.5 MB, free: 4.113 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.02607, allocations: 257.3 kB / 361.7 MB, free: 3.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.02637, allocations: 98.55 kB / 361.8 MB, free: 3.746 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.02781, allocations: 1.109 MB / 362.9 MB, free: 2.598 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.02793, allocations: 177.1 kB / 363.1 MB, free: 2.406 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.02804, allocations: 52.23 kB / 363.1 MB, free: 2.352 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.0282, allocations: 142.2 kB / 363.3 MB, free: 2.211 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.0282, allocations: 0 / 363.3 MB, free: 2.211 MB / 330.7 MB Notification: Performance of Templates: time 0.01089/0.03909, allocations: 7.214 MB / 370.5 MB, free: 11.09 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.2427399549633265]