Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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.001664/0.001664, allocations: 104.3 kB / 19.7 MB, free: 2.004 MB / 14.72 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.002227/0.002227, allocations: 221 kB / 23 MB, free: 4.918 MB / 14.72 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.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] 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.04387/0.04387, allocations: 8.553 MB / 321.7 MB, free: 10.43 MB / 254.1 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.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 75.83 kB / 448.1 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1132, allocations: 55.41 MB / 0.4917 GB, free: 7.629 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006452/0.1196, allocations: 3.67 MB / 0.4953 GB, free: 3.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003517/0.1231, allocations: 1.886 MB / 0.4972 GB, free: 2.043 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003555/0.1235, allocations: 15.94 kB / 0.4972 GB, free: 2.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005456/0.124, allocations: 206.8 kB / 0.4974 GB, free: 1.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007562/0.1248, allocations: 290.5 kB / 0.4977 GB, free: 1.539 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009071/0.1257, allocations: 389.1 kB / 0.498 GB, free: 1.164 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008626/0.1266, allocations: 0.6822 MB / 0.4987 GB, free: 488 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004671/0.127, allocations: 225.8 kB / 0.4989 GB, free: 256 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004813/0.1275, allocations: 302.8 kB / 0.4992 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004598/0.128, allocations: 310.5 kB / 0.4995 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.1281, allocations: 60 kB / 0.4996 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.1283, allocations: 128 kB / 0.4997 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002538/0.1286, allocations: 231.2 kB / 0.4999 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.1289, allocations: 282.3 kB / 0.5002 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.1301, allocations: 0.9531 MB / 0.5011 GB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1301, allocations: 0 / 0.5011 GB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1301, allocations: 0 / 0.5011 GB, free: 14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.1301, allocations: 0 / 0.5011 GB, free: 14 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002083/0.1322, allocations: 1.097 MB / 0.5022 GB, free: 12.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.1322, allocations: 11.97 kB / 0.5022 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.1324, allocations: 96.33 kB / 0.5023 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009201/0.1333, allocations: 0.5379 MB / 0.5028 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.325e-05/0.1334, allocations: 40.94 kB / 0.5028 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-05/0.1335, allocations: 51.95 kB / 0.5029 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009642/0.1345, allocations: 491.8 kB / 0.5034 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.1345, allocations: 0 / 0.5034 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/0.1345, allocations: 20 kB / 0.5034 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.1345, allocations: 12 kB / 0.5034 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008821/0.1354, allocations: 347.7 kB / 0.5037 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.1382, allocations: 1.58 MB / 0.5053 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008448/0.139, allocations: 327.2 kB / 0.5056 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.1394, allocations: 132.8 kB / 0.5057 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.1394, allocations: 4 kB / 0.5057 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004945/0.1399, allocations: 199.3 kB / 0.5059 GB, free: 8.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.984e-06/0.1399, allocations: 0 / 0.5059 GB, free: 8.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001766/0.1417, allocations: 0.5797 MB / 0.5065 GB, free: 8.336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.1417, allocations: 59.39 kB / 0.5065 GB, free: 8.266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.1429, allocations: 0.9339 MB / 0.5074 GB, free: 7.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.143, allocations: 33.7 kB / 0.5075 GB, free: 7.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.1433, allocations: 380.3 kB / 0.5078 GB, free: 6.906 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.738e-05/0.1434, allocations: 103.1 kB / 0.5079 GB, free: 6.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.1436, allocations: 86.06 kB / 0.508 GB, free: 6.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.1438, allocations: 378.8 kB / 0.5084 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.1442, allocations: 166.5 kB / 0.5085 GB, free: 6.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/0.1447, allocations: 236.8 kB / 0.5087 GB, free: 5.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008131/0.1455, allocations: 368.1 kB / 0.5091 GB, free: 5.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1455, allocations: 3.938 kB / 0.5091 GB, free: 5.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001233/0.1467, allocations: 0.5635 MB / 0.5097 GB, free: 4.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/0.1468, allocations: 41.69 kB / 0.5097 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.1468, allocations: 3.984 kB / 0.5097 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00029/0.1471, allocations: 60.81 kB / 0.5098 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.1474, allocations: 79.92 kB / 0.5098 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.1493, allocations: 1.676 MB / 0.5115 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.1497, allocations: 51.75 kB / 0.5115 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.1497, allocations: 12 kB / 0.5115 GB, free: 2.895 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$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 (44): * Single equations (assignments): 42 * 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.0004154/0.1501, allocations: 281.7 kB / 0.5118 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.562e-05/0.1502, allocations: 67.53 kB / 0.5119 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.1513, allocations: 438.1 kB / 0.5123 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1513, allocations: 8 kB / 0.5123 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.1513, allocations: 0 / 0.5123 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1513, allocations: 0 / 0.5123 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/0.1519, allocations: 424.9 kB / 0.5127 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1519, allocations: 7.922 kB / 0.5127 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.1521, allocations: 47.97 kB / 0.5127 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002111/0.1523, allocations: 56.75 kB / 0.5128 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.1524, allocations: 8 kB / 0.5128 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2241/0.3765, allocations: 1.67 MB / 0.5144 GB, free: 26.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3765, allocations: 5.625 kB / 0.5144 GB, free: 26.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.3779, allocations: 0.5946 MB / 0.515 GB, free: 26.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.3781, allocations: 85 kB / 0.5151 GB, free: 26.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.949e-05/0.3782, allocations: 5.75 kB / 0.5151 GB, free: 26.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.3784, allocations: 25.69 kB / 0.5151 GB, free: 26.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.69e-05/0.3785, allocations: 33.83 kB / 0.5152 GB, free: 26.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.3785, allocations: 13.47 kB / 0.5152 GB, free: 26.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007405/0.3793, allocations: 0.6686 MB / 0.5158 GB, free: 25.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3793, allocations: 0 / 0.5158 GB, free: 25.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005586/0.3798, allocations: 140.6 kB / 0.516 GB, free: 25.95 MB / 382.1 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: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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.002515/0.3824, allocations: 0.6519 MB / 0.5166 GB, free: 25.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.3835, allocations: 0.5244 MB / 0.5171 GB, free: 25.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3835, allocations: 0 / 0.5171 GB, free: 25.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004767/0.3839, allocations: 278.7 kB / 0.5174 GB, free: 25.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.3845, allocations: 96.3 kB / 0.5175 GB, free: 25.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.3867, allocations: 1.465 MB / 0.5189 GB, free: 24.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.3871, allocations: 363.6 kB / 0.5193 GB, free: 24.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.3872, allocations: 43 kB / 0.5193 GB, free: 24.76 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3872, allocations: 0 / 0.5193 GB, free: 24.76 MB / 382.1 MB Notification: Performance of Templates: time 0.01883/0.406, allocations: 11.67 MB / 0.5307 GB, free: 21.7 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.58456758968532] Failed to read output from testmodel.py, exit status != 0: 0.41433299565687776 0.426245352 0.293703835 Calling exit ...