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.001246/0.001246, allocations: 93.06 kB / 19.65 MB, free: 272 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.001346/0.001346, allocations: 165 kB / 23.02 MB, free: 1.547 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.8971/0.8971, allocations: 177.1 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.03448/0.03448, allocations: 6.486 MB / 266.4 MB, free: 6.633 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.743e-06/1.743e-06, allocations: 4 kB / 338.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.381e-05, allocations: 2.312 kB / 338.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.003202/0.003216, allocations: 3.816 MB / 341.9 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.004481, allocations: 1.195 MB / 343.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.004664, allocations: 11.94 kB / 343.1 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.00501, allocations: 206.8 kB / 343.3 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004682/0.005478, allocations: 290.3 kB / 343.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.005936, allocations: 367 kB / 343.9 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004662/0.006402, allocations: 0.6548 MB / 344.6 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.006658, allocations: 187.8 kB / 344.8 MB, free: 4.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.006968, allocations: 387 kB / 345.2 MB, free: 3.691 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.007176, allocations: 255.3 kB / 345.4 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.584e-05/0.007222, allocations: 56 kB / 345.5 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.007337, allocations: 115.9 kB / 345.6 MB, free: 3.273 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.007451, allocations: 227.2 kB / 345.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.007563, allocations: 203.4 kB / 346 MB, free: 2.852 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.008027, allocations: 0.5759 MB / 346.6 MB, free: 2.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.008029, allocations: 0 / 346.6 MB, free: 2.273 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00803, allocations: 4 kB / 346.6 MB, free: 2.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.008036, allocations: 0 / 346.6 MB, free: 2.27 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.0008683/0.008904, allocations: 1.143 MB / 347.7 MB, free: 1.082 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.008933, allocations: 8.031 kB / 347.7 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.009036, allocations: 120.4 kB / 347.8 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.00941, allocations: 484.9 kB / 348.3 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.009436, allocations: 29.38 kB / 348.4 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/0.009483, allocations: 44.38 kB / 348.4 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.009849, allocations: 359.8 kB / 348.7 MB, free: 4 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.009865, allocations: 0 / 348.7 MB, free: 4 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.009905, allocations: 16.08 kB / 348.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.009923, allocations: 8 kB / 348.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.01015, allocations: 145.8 kB / 348.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.01156, allocations: 1.619 MB / 350.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.01186, allocations: 175.4 kB / 350.7 MB, free: 13.97 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.37e-05/0.01194, allocations: 55.66 kB / 350.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.01197, allocations: 8 kB / 350.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.01212, allocations: 124.9 kB / 350.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.413e-06/0.01213, allocations: 0 / 350.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006109/0.01274, allocations: 365.7 kB / 351.2 MB, free: 13.4 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.01276, allocations: 51.41 kB / 351.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005484/0.01331, allocations: 0.7026 MB / 352 MB, free: 12.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.01333, allocations: 37.64 kB / 352 MB, free: 12.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.01355, allocations: 427.2 kB / 352.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.01359, allocations: 83.25 kB / 352.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.946e-05/0.01367, allocations: 87.72 kB / 352.6 MB, free: 11.97 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.01383, allocations: 0.5664 MB / 353.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.01394, allocations: 82.41 kB / 353.3 MB, free: 11.31 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.01406, allocations: 172.4 kB / 353.4 MB, free: 11.1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.01428, allocations: 236 kB / 353.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01428, allocations: 0 / 353.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004096/0.01469, allocations: 422.4 kB / 354.1 MB, free: 10.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.01471, allocations: 29.7 kB / 354.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.01472, allocations: 4 kB / 354.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.01492, allocations: 59.64 kB / 354.2 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.01506, allocations: 72.11 kB / 354.2 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.01608, allocations: 2.133 MB / 356.4 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.0162, allocations: 39.72 kB / 356.4 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.01622, allocations: 19.98 kB / 356.4 MB, free: 7.906 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 (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.0001166/0.01633, allocations: 184.5 kB / 356.6 MB, free: 7.715 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.01639, allocations: 67.58 kB / 356.7 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000316/0.0167, allocations: 267 kB / 356.9 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01671, allocations: 4 kB / 356.9 MB, free: 7.371 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.51e-07/0.01671, allocations: 0 / 356.9 MB, free: 7.371 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01671, allocations: 0 / 356.9 MB, free: 7.371 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.01703, allocations: 432.2 kB / 357.4 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01703, allocations: 0 / 357.4 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.01714, allocations: 35.97 kB / 357.4 MB, free: 6.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.01726, allocations: 67.83 kB / 357.5 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.01728, allocations: 4 kB / 357.5 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008949/0.01817, allocations: 2.129 MB / 359.6 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01817, allocations: 8.016 kB / 359.6 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.01855, allocations: 347.4 kB / 359.9 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.88e-05/0.01862, allocations: 75.5 kB / 360 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.01865, allocations: 8 kB / 360 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.01873, allocations: 15.98 kB / 360 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/0.01879, allocations: 27.94 kB / 360.1 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.01881, allocations: 12.12 kB / 360.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003374/0.01914, allocations: 462.9 kB / 360.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01914, allocations: 4 kB / 360.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002938/0.01944, allocations: 131.7 kB / 360.7 MB, free: 3.469 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.001104/0.02054, allocations: 0.5642 MB / 361.2 MB, free: 3.137 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004435/0.02099, allocations: 450.3 kB / 361.7 MB, free: 2.656 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.02099, allocations: 0 / 361.7 MB, free: 2.656 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.02117, allocations: 269.9 kB / 361.9 MB, free: 2.371 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.02146, allocations: 97.78 kB / 362 MB, free: 2.273 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.02281, allocations: 1.122 MB / 363.1 MB, free: 1.113 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.758e-05/0.0229, allocations: 165.2 kB / 363.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.02301, allocations: 60.22 kB / 363.4 MB, free: 0.875 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.123e-05/0.02308, allocations: 40.5 kB / 363.4 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02308, allocations: 0 / 363.4 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of Templates: time 0.008656/0.03173, allocations: 6.724 MB / 370.1 MB, free: 10.16 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: 2.9006184530444443]