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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 192.4 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04252/0.04252, allocations: 8.547 MB / 314.7 MB, free: 296 kB / 238.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 71.88 kB / 438.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09834, allocations: 54.2 MB / 492.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006286/0.1046, allocations: 3.878 MB / 496.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003161/0.1078, allocations: 1.804 MB / 498.5 MB, free: 472 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003881/0.1082, allocations: 11.94 kB / 498.6 MB, free: 460 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.1087, allocations: 202.9 kB / 498.8 MB, free: 256 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006984/0.1094, allocations: 242.7 kB / 499 MB, free: 12 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009335/0.1104, allocations: 373 kB / 499.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009945/0.1113, allocations: 0.6628 MB / 0.4883 GB, free: 14.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004985/0.1118, allocations: 241.2 kB / 0.4885 GB, free: 14.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000475/0.1123, allocations: 286.8 kB / 0.4888 GB, free: 14.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005749/0.1129, allocations: 338.5 kB / 0.4891 GB, free: 14.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.113, allocations: 60 kB / 0.4892 GB, free: 14.06 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.1133, allocations: 124 kB / 0.4893 GB, free: 13.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002709/0.1135, allocations: 231.2 kB / 0.4895 GB, free: 13.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004162/0.114, allocations: 365.8 kB / 0.4899 GB, free: 13.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.1151, allocations: 0.9219 MB / 0.4908 GB, free: 12.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.1151, allocations: 11.98 kB / 0.4908 GB, free: 12.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1152, allocations: 0 / 0.4908 GB, free: 12.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.1152, allocations: 0 / 0.4908 GB, free: 12.42 MB / 366.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.002051/0.1172, allocations: 1.145 MB / 0.4919 GB, free: 11.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1173, allocations: 15.89 kB / 0.4919 GB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.1174, allocations: 96.33 kB / 0.492 GB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008875/0.1183, allocations: 0.5982 MB / 0.4926 GB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.1184, allocations: 36.94 kB / 0.4926 GB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.922e-05/0.1185, allocations: 48 kB / 0.4927 GB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.1195, allocations: 487.8 kB / 0.4931 GB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.1195, allocations: 3.953 kB / 0.4931 GB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.1196, allocations: 20 kB / 0.4932 GB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.1196, allocations: 8 kB / 0.4932 GB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.1207, allocations: 355.7 kB / 0.4935 GB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003196/0.1238, allocations: 1.863 MB / 0.4953 GB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.1249, allocations: 329.8 kB / 0.4956 GB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004261/0.1254, allocations: 128.8 kB / 0.4958 GB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.673e-05/0.1254, allocations: 7.984 kB / 0.4958 GB, free: 7.105 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007496/0.1262, allocations: 207.2 kB / 0.496 GB, free: 6.891 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 3.887e-06/0.1262, allocations: 0 / 0.496 GB, free: 6.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.002263/0.1284, allocations: 0.6479 MB / 0.4966 GB, free: 6.215 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.1285, allocations: 55.41 kB / 0.4967 GB, free: 6.148 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.1298, allocations: 0.9221 MB / 0.4976 GB, free: 5.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/0.1299, allocations: 33.7 kB / 0.4976 GB, free: 5.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.1302, allocations: 372.3 kB / 0.4979 GB, free: 4.812 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1303, allocations: 99.16 kB / 0.498 GB, free: 4.715 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.1304, allocations: 86.08 kB / 0.4981 GB, free: 4.625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002417/0.1307, allocations: 382.8 kB / 0.4985 GB, free: 4.242 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/0.1311, allocations: 140.7 kB / 0.4986 GB, free: 4.102 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/0.1316, allocations: 211.1 kB / 0.4988 GB, free: 3.871 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008392/0.1324, allocations: 360.2 kB / 0.4992 GB, free: 3.488 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.1324, allocations: 7.938 kB / 0.4992 GB, free: 3.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001474/0.1339, allocations: 0.5267 MB / 0.4997 GB, free: 2.938 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.1339, allocations: 37.64 kB / 0.4997 GB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1339, allocations: 3.938 kB / 0.4997 GB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003103/0.1342, allocations: 72.94 kB / 0.4998 GB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.1346, allocations: 75.89 kB / 0.4999 GB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.1366, allocations: 1.803 MB / 0.5016 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/0.1369, allocations: 59.64 kB / 0.5017 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.432e-05/0.137, allocations: 16 kB / 0.5017 GB, free: 0.7305 MB / 366.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.00036/0.1373, allocations: 274.2 kB / 0.502 GB, free: 464 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.1374, allocations: 63.58 kB / 0.502 GB, free: 400 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.1386, allocations: 441.3 kB / 0.5024 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.1386, allocations: 4 kB / 0.5025 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.1386, allocations: 0 / 0.5025 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.1386, allocations: 0 / 0.5025 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006996/0.1393, allocations: 0.5868 MB / 0.503 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1393, allocations: 0 / 0.503 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.1396, allocations: 39.97 kB / 0.5031 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002217/0.1398, allocations: 69 kB / 0.5031 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.1399, allocations: 4 kB / 0.5031 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/0.1417, allocations: 1.81 MB / 0.5049 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1417, allocations: 3.938 kB / 0.5049 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.1432, allocations: 0.589 MB / 0.5055 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.1435, allocations: 156.7 kB / 0.5056 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.721e-05/0.1435, allocations: 8 kB / 0.5056 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.1438, allocations: 27.97 kB / 0.5057 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.1439, allocations: 35.89 kB / 0.5057 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.1439, allocations: 12 kB / 0.5057 GB, free: 12.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000866/0.1448, allocations: 0.6552 MB / 0.5063 GB, free: 11.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1448, allocations: 0 / 0.5063 GB, free: 11.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000567/0.1453, allocations: 147.6 kB / 0.5065 GB, free: 11.58 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.0024/0.1477, allocations: 0.605 MB / 0.5071 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.149, allocations: 498.1 kB / 0.5076 GB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.149, allocations: 4.125 kB / 0.5076 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.1496, allocations: 279 kB / 0.5078 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.1501, allocations: 94.12 kB / 0.5079 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.1527, allocations: 1.419 MB / 0.5093 GB, free: 8.906 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007208/0.1534, allocations: 0.9596 MB / 0.5102 GB, free: 7.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.1537, allocations: 76.34 kB / 0.5103 GB, free: 7.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.1538, allocations: 43.42 kB / 0.5104 GB, free: 7.805 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1538, allocations: 4 kB / 0.5104 GB, free: 7.801 MB / 382.1 MB Notification: Performance of Templates: time 0.01559/0.1694, allocations: 6.993 MB / 0.5172 GB, free: 0.8242 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 -s gbode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.762464419007301] Failed to read output from testmodel.py, exit status != 0: 0.3438537288457155 0.35592858899999996 0.23836939099999996 Calling exit ...