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.001271/0.001271, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001464/0.001464, allocations: 217.8 kB / 23.01 MB, free: 4.566 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.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 8 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.0505/0.0505, allocations: 8.541 MB / 321.7 MB, free: 10.59 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.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: 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.002018/0.002018, allocations: 63.84 kB / 448.2 MB, free: 15.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1096, allocations: 55.41 MB / 0.4918 GB, free: 7.875 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006416/0.116, allocations: 3.892 MB / 0.4956 GB, free: 3.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.1186, allocations: 1.234 MB / 0.4968 GB, free: 2.723 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003761/0.1189, allocations: 11.94 kB / 0.4968 GB, free: 2.711 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.1195, allocations: 206.8 kB / 0.497 GB, free: 2.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007411/0.1202, allocations: 274.6 kB / 0.4973 GB, free: 2.238 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008765/0.1211, allocations: 365 kB / 0.4976 GB, free: 1.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.1221, allocations: 0.651 MB / 0.4983 GB, free: 1.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004196/0.1225, allocations: 203.8 kB / 0.4985 GB, free: 1.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004949/0.123, allocations: 274.9 kB / 0.4987 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004434/0.1234, allocations: 318.6 kB / 0.499 GB, free: 452 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.484e-05/0.1235, allocations: 56 kB / 0.4991 GB, free: 396 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.1238, allocations: 120 kB / 0.4992 GB, free: 276 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.124, allocations: 219.3 kB / 0.4994 GB, free: 56 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003619/0.1243, allocations: 350 kB / 0.4997 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.1254, allocations: 0.8985 MB / 0.5006 GB, free: 14.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1254, allocations: 0 / 0.5006 GB, free: 14.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1254, allocations: 0 / 0.5006 GB, free: 14.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.1254, allocations: 0 / 0.5006 GB, free: 14.81 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002033/0.1275, allocations: 1.039 MB / 0.5016 GB, free: 13.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1275, allocations: 12.03 kB / 0.5016 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.1277, allocations: 88.38 kB / 0.5017 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008813/0.1286, allocations: 0.5378 MB / 0.5023 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.1286, allocations: 32.94 kB / 0.5023 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.1287, allocations: 44 kB / 0.5023 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008488/0.1295, allocations: 435.8 kB / 0.5027 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.1296, allocations: 11.88 kB / 0.5028 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.1296, allocations: 16 kB / 0.5028 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.1296, allocations: 8 kB / 0.5028 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008225/0.1304, allocations: 315.7 kB / 0.5031 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002766/0.1332, allocations: 1.677 MB / 0.5047 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008678/0.1341, allocations: 310.7 kB / 0.505 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.1344, allocations: 116.8 kB / 0.5051 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.1344, allocations: 4 kB / 0.5051 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004367/0.1348, allocations: 191.2 kB / 0.5053 GB, free: 9.824 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.954e-06/0.1348, allocations: 0 / 0.5053 GB, free: 9.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001605/0.1364, allocations: 0.5212 MB / 0.5058 GB, free: 9.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.1365, allocations: 63.34 kB / 0.5059 GB, free: 9.219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.1378, allocations: 0.9378 MB / 0.5068 GB, free: 8.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.1378, allocations: 33.7 kB / 0.5068 GB, free: 8.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.1381, allocations: 356.5 kB / 0.5072 GB, free: 7.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.182e-05/0.1382, allocations: 91.27 kB / 0.5073 GB, free: 7.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.1383, allocations: 78.02 kB / 0.5073 GB, free: 7.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.1386, allocations: 382.8 kB / 0.5077 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.1389, allocations: 124.7 kB / 0.5078 GB, free: 7.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.1393, allocations: 199.8 kB / 0.508 GB, free: 6.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007192/0.14, allocations: 341.6 kB / 0.5083 GB, free: 6.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.14, allocations: 3.938 kB / 0.5083 GB, free: 6.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001125/0.1412, allocations: 0.502 MB / 0.5088 GB, free: 6.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.1412, allocations: 33.7 kB / 0.5089 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1412, allocations: 0 / 0.5089 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/0.1415, allocations: 60.81 kB / 0.5089 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.1418, allocations: 71.89 kB / 0.509 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.1437, allocations: 1.723 MB / 0.5107 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/0.1441, allocations: 47.72 kB / 0.5107 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.1441, allocations: 15.98 kB / 0.5107 GB, free: 4.023 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: 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.0003791/0.1445, allocations: 261.7 kB / 0.511 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.1446, allocations: 71.52 kB / 0.511 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009988/0.1456, allocations: 401.2 kB / 0.5114 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.1456, allocations: 7.938 kB / 0.5114 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1456, allocations: 0 / 0.5114 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1456, allocations: 7.922 kB / 0.5114 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006549/0.1463, allocations: 0.5197 MB / 0.5119 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1463, allocations: 0 / 0.5119 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.1465, allocations: 47.91 kB / 0.512 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001997/0.1467, allocations: 52.81 kB / 0.512 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.1468, allocations: 8 kB / 0.512 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.1486, allocations: 1.723 MB / 0.5137 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1486, allocations: 0 / 0.5137 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.1499, allocations: 0.5486 MB / 0.5143 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.15, allocations: 79.55 kB / 0.5143 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.962e-05/0.1501, allocations: 11.98 kB / 0.5144 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.1503, allocations: 19.98 kB / 0.5144 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.047e-05/0.1504, allocations: 27.94 kB / 0.5144 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.1504, allocations: 8 kB / 0.5144 GB, free: 44 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2013/0.3518, allocations: 0.6648 MB / 0.5151 GB, free: 26.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3518, allocations: 2.344 kB / 0.5151 GB, free: 26.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007762/0.3525, allocations: 130.4 kB / 0.5152 GB, free: 26.48 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: 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.002284/0.3548, allocations: 0.5995 MB / 0.5158 GB, free: 26.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.3559, allocations: 478.5 kB / 0.5162 GB, free: 26.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3559, allocations: 0 / 0.5162 GB, free: 26.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004228/0.3563, allocations: 263.5 kB / 0.5165 GB, free: 26.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.3568, allocations: 107.2 kB / 0.5166 GB, free: 26.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.3587, allocations: 1.393 MB / 0.5179 GB, free: 25.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.3591, allocations: 0.9508 MB / 0.5189 GB, free: 24.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.3592, allocations: 39.03 kB / 0.5189 GB, free: 24.77 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3592, allocations: 0 / 0.5189 GB, free: 24.77 MB / 382.1 MB Notification: Performance of Templates: time 0.0155/0.3747, allocations: 10.89 MB / 0.5295 GB, free: 22.3 MB / 382.1 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=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.045939377043396] Failed to read output from testmodel.py, exit status != 0: 0.3822624657768756 0.39416563400000004 0.26611918500000004 Calling exit ...