Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001707/0.001707, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002073/0.002073, allocations: 202.4 kB / 22.18 MB, free: 5.207 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.444/1.444, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04213/0.04213, allocations: 8.539 MB / 314.7 MB, free: 300 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/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_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 67.89 kB / 438.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09851, 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.006388/0.1049, allocations: 3.882 MB / 496.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00316/0.1081, allocations: 1.8 MB / 498.5 MB, free: 472 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003676/0.1084, allocations: 15.94 kB / 498.6 MB, free: 456 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005596/0.109, allocations: 202.9 kB / 498.8 MB, free: 252 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006924/0.1097, allocations: 238.7 kB / 499 MB, free: 12 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009069/0.1106, allocations: 381.4 kB / 499.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008936/0.1115, allocations: 0.6666 MB / 0.4883 GB, free: 14.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004629/0.1119, allocations: 229.4 kB / 0.4885 GB, free: 14.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004288/0.1124, allocations: 278.9 kB / 0.4888 GB, free: 14.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004853/0.1129, allocations: 338.5 kB / 0.4891 GB, free: 14.13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.708e-05/0.1129, allocations: 60 kB / 0.4892 GB, free: 14.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.1132, allocations: 131.9 kB / 0.4893 GB, free: 13.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.1134, allocations: 227.3 kB / 0.4895 GB, free: 13.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003384/0.1138, allocations: 365.8 kB / 0.4899 GB, free: 13.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.115, allocations: 0.922 MB / 0.4908 GB, free: 12.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.115, allocations: 0 / 0.4908 GB, free: 12.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.115, allocations: 0 / 0.4908 GB, free: 12.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.115, allocations: 7.938 kB / 0.4908 GB, free: 12.43 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.002054/0.117, allocations: 1.149 MB / 0.4919 GB, free: 11.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1171, allocations: 15.89 kB / 0.4919 GB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.1172, allocations: 92.33 kB / 0.492 GB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009045/0.1181, allocations: 0.6021 MB / 0.4926 GB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.153e-05/0.1182, allocations: 40.94 kB / 0.4926 GB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.129e-05/0.1183, allocations: 55.98 kB / 0.4927 GB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.1193, allocations: 487.8 kB / 0.4931 GB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.1193, allocations: 3.953 kB / 0.4931 GB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.186e-05/0.1194, allocations: 16 kB / 0.4932 GB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.1194, allocations: 12 kB / 0.4932 GB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009602/0.1203, allocations: 355.7 kB / 0.4935 GB, free: 9.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002963/0.1233, allocations: 1.855 MB / 0.4953 GB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009165/0.1242, allocations: 334.6 kB / 0.4956 GB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003871/0.1246, allocations: 136.8 kB / 0.4958 GB, free: 7.098 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.1246, allocations: 7.938 kB / 0.4958 GB, free: 7.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004884/0.1251, allocations: 187.3 kB / 0.496 GB, free: 6.895 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.244e-06/0.1251, allocations: 4 kB / 0.496 GB, free: 6.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.001912/0.127, allocations: 0.6518 MB / 0.4966 GB, free: 6.211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.1271, allocations: 55.41 kB / 0.4967 GB, free: 6.145 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.1283, allocations: 0.9183 MB / 0.4975 GB, free: 5.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/0.1283, allocations: 37.64 kB / 0.4976 GB, free: 5.176 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.1287, allocations: 380.4 kB / 0.4979 GB, free: 4.801 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.553e-05/0.1288, allocations: 103.2 kB / 0.498 GB, free: 4.699 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.1289, allocations: 82.08 kB / 0.4981 GB, free: 4.613 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.1291, allocations: 378.8 kB / 0.4985 GB, free: 4.234 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.1295, allocations: 136.8 kB / 0.4986 GB, free: 4.098 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000454/0.13, allocations: 207.1 kB / 0.4988 GB, free: 3.871 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008269/0.1308, allocations: 364.2 kB / 0.4992 GB, free: 3.484 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.1308, allocations: 11.88 kB / 0.4992 GB, free: 3.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00125/0.1321, allocations: 0.5267 MB / 0.4997 GB, free: 2.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.1321, allocations: 41.92 kB / 0.4997 GB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1321, allocations: 0 / 0.4997 GB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002809/0.1324, allocations: 60.75 kB / 0.4998 GB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.1327, allocations: 75.89 kB / 0.4999 GB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.1347, allocations: 1.811 MB / 0.5016 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.135, allocations: 63.73 kB / 0.5017 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.1351, allocations: 16 kB / 0.5017 GB, free: 0.7227 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.0003374/0.1354, allocations: 270.2 kB / 0.502 GB, free: 460 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/0.1355, allocations: 63.58 kB / 0.502 GB, free: 396 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.1366, allocations: 445.3 kB / 0.5024 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1366, allocations: 0 / 0.5024 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1366, allocations: 4 kB / 0.5024 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1366, allocations: 3.984 kB / 0.5025 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006577/0.1373, allocations: 0.5751 MB / 0.503 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1373, allocations: 0 / 0.503 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.1376, allocations: 51.89 kB / 0.5031 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002037/0.1378, allocations: 60.81 kB / 0.5031 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.1378, allocations: 7.984 kB / 0.5031 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.1397, allocations: 1.81 MB / 0.5049 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1397, allocations: 0 / 0.5049 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.1411, allocations: 0.6007 MB / 0.5055 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.1413, allocations: 156.7 kB / 0.5056 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.298e-05/0.1414, allocations: 8 kB / 0.5056 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.1416, allocations: 23.97 kB / 0.5057 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.1417, allocations: 35.89 kB / 0.5057 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.1418, allocations: 12 kB / 0.5057 GB, free: 12.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008874/0.1427, allocations: 0.6552 MB / 0.5063 GB, free: 11.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1427, allocations: 3.938 kB / 0.5064 GB, free: 11.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005123/0.1432, allocations: 147.6 kB / 0.5065 GB, free: 11.56 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.002305/0.1455, allocations: 0.5997 MB / 0.5071 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.1466, allocations: 0.4942 MB / 0.5076 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1466, allocations: 3.938 kB / 0.5076 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005725/0.1472, allocations: 282.9 kB / 0.5078 GB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.1478, allocations: 105.7 kB / 0.5079 GB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.1502, allocations: 1.411 MB / 0.5093 GB, free: 8.891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/0.1508, allocations: 0.9635 MB / 0.5103 GB, free: 7.902 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.151, allocations: 76.33 kB / 0.5103 GB, free: 7.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.1511, allocations: 35.44 kB / 0.5104 GB, free: 7.793 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1511, allocations: 0 / 0.5104 GB, free: 7.793 MB / 382.1 MB Notification: Performance of Templates: time 0.01377/0.1649, allocations: 6.987 MB / 0.5172 GB, free: 0.8164 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.759032334666699] Failed to read output from testmodel.py, exit status != 0: 0.32517863204702735 0.33598602599999994 0.21870441899999996 Calling exit ...