Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.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.001223/0.001223, allocations: 107.4 kB / 18.88 MB, free: 2.918 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.001357/0.001357, allocations: 198.6 kB / 22.17 MB, free: 4.637 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.366/1.366, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.04198/0.04198, allocations: 8.525 MB / 314.7 MB, free: 304 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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 64.09 kB / 438.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09252/0.0944, allocations: 54.2 MB / 492.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.005873/0.1003, allocations: 3.707 MB / 496.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.1034, allocations: 1.8 MB / 498.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000336/0.1037, allocations: 8 kB / 498.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005209/0.1042, allocations: 191 kB / 498.6 MB, free: 460 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005985/0.1048, allocations: 242.7 kB / 498.8 MB, free: 216 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009069/0.1058, allocations: 395.8 kB / 499.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007705/0.1065, allocations: 0.616 MB / 499.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.1069, allocations: 158.7 kB / 500 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004122/0.1073, allocations: 251 kB / 0.4885 GB, free: 14.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004907/0.1078, allocations: 306.7 kB / 0.4888 GB, free: 14.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.484e-05/0.1079, allocations: 48 kB / 0.4888 GB, free: 14.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.1081, allocations: 115.9 kB / 0.4889 GB, free: 14.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.1083, allocations: 207.3 kB / 0.4891 GB, free: 14.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.1086, allocations: 334.1 kB / 0.4894 GB, free: 13.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.1097, allocations: 0.8441 MB / 0.4903 GB, free: 12.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1097, allocations: 0 / 0.4903 GB, free: 12.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1097, allocations: 0 / 0.4903 GB, free: 12.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1097, allocations: 3.938 kB / 0.4903 GB, free: 12.95 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001951/0.1117, allocations: 1.103 MB / 0.4913 GB, free: 11.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1117, allocations: 15.89 kB / 0.4914 GB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.1118, allocations: 80.42 kB / 0.4914 GB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008842/0.1127, allocations: 0.5789 MB / 0.492 GB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.1128, allocations: 28.94 kB / 0.492 GB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/0.1128, allocations: 43.95 kB / 0.4921 GB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008437/0.1137, allocations: 416.7 kB / 0.4925 GB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.1137, allocations: 8 kB / 0.4925 GB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.1137, allocations: 12 kB / 0.4925 GB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.1138, allocations: 8 kB / 0.4925 GB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008225/0.1146, allocations: 311.7 kB / 0.4928 GB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002665/0.1172, allocations: 1.684 MB / 0.4944 GB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009271/0.1182, allocations: 314.3 kB / 0.4947 GB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.1185, allocations: 116.8 kB / 0.4948 GB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.1185, allocations: 8.016 kB / 0.4949 GB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004915/0.119, allocations: 187.1 kB / 0.495 GB, free: 7.852 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 2.304e-06/0.119, allocations: 4 kB / 0.495 GB, free: 7.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.00157/0.1206, allocations: 0.5417 MB / 0.4956 GB, free: 7.277 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.1207, allocations: 81.11 kB / 0.4956 GB, free: 7.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.1219, allocations: 0.9144 MB / 0.4965 GB, free: 6.258 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.1219, allocations: 41.64 kB / 0.4966 GB, free: 6.211 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/0.1222, allocations: 336.3 kB / 0.4969 GB, free: 5.879 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.585e-05/0.1223, allocations: 83.28 kB / 0.497 GB, free: 5.797 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.1225, allocations: 77.69 kB / 0.497 GB, free: 5.715 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.1227, allocations: 374.8 kB / 0.4974 GB, free: 5.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/0.1231, allocations: 144.7 kB / 0.4975 GB, free: 5.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/0.1235, allocations: 207.6 kB / 0.4977 GB, free: 4.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008092/0.1243, allocations: 348.6 kB / 0.4981 GB, free: 4.594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1243, allocations: 0 / 0.4981 GB, free: 4.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001197/0.1255, allocations: 495.2 kB / 0.4985 GB, free: 4.094 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/0.1256, allocations: 33.64 kB / 0.4986 GB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1256, allocations: 4 kB / 0.4986 GB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001711/0.1257, allocations: 29.06 kB / 0.4986 GB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.1261, allocations: 71.89 kB / 0.4987 GB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.1273, allocations: 1.379 MB / 0.5 GB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.1277, allocations: 47.77 kB / 0.5001 GB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.1277, allocations: 15.94 kB / 0.5001 GB, free: 2.367 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006447/0.1284, allocations: 340.1 kB / 0.5004 GB, free: 2.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004066/0.1288, allocations: 203.5 kB / 0.5006 GB, free: 1.805 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007/0.1295, allocations: 327.9 kB / 0.5009 GB, free: 1.453 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.1295, allocations: 0 / 0.5009 GB, free: 1.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001076/0.1305, allocations: 471.1 kB / 0.5014 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.1306, allocations: 33.92 kB / 0.5014 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1306, allocations: 7.938 kB / 0.5014 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.989e-05/0.1307, allocations: 24.84 kB / 0.5014 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.131, allocations: 75.89 kB / 0.5015 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.1322, allocations: 1.367 MB / 0.5028 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.1326, allocations: 39.89 kB / 0.5029 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.1326, allocations: 12 kB / 0.5029 GB, free: 15.27 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,iceT.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.1328, allocations: 209.7 kB / 0.5031 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-05/0.1329, allocations: 71.52 kB / 0.5032 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009738/0.1339, allocations: 378.8 kB / 0.5035 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1339, allocations: 0 / 0.5035 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.1339, allocations: 0 / 0.5035 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.1339, allocations: 4 kB / 0.5035 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006109/0.1345, allocations: 0.5323 MB / 0.504 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1345, allocations: 3.938 kB / 0.504 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.1348, allocations: 47.95 kB / 0.5041 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.184e-05/0.1349, allocations: 24.8 kB / 0.5041 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.1349, allocations: 11.98 kB / 0.5041 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.1361, allocations: 1.364 MB / 0.5055 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1361, allocations: 4.031 kB / 0.5055 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.1373, allocations: 0.5171 MB / 0.506 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.1375, allocations: 164.6 kB / 0.5061 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/0.1376, allocations: 4 kB / 0.5061 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.1378, allocations: 27.97 kB / 0.5062 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.1379, allocations: 19.97 kB / 0.5062 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.138, allocations: 12 kB / 0.5062 GB, free: 11.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008086/0.1388, allocations: 0.6591 MB / 0.5068 GB, free: 10.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1388, allocations: 4 kB / 0.5068 GB, free: 10.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006606/0.1394, allocations: 215.4 kB / 0.507 GB, free: 10.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceT.inertia.w,iceT.tokgFuel.y,loadTorque.phi) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002259/0.1417, allocations: 0.6066 MB / 0.5076 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.1434, allocations: 0.788 MB / 0.5084 GB, free: 9.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1434, allocations: 0 / 0.5084 GB, free: 9.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005058/0.1439, allocations: 246.5 kB / 0.5086 GB, free: 9.355 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.1444, allocations: 97.39 kB / 0.5087 GB, free: 9.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.1467, allocations: 1.372 MB / 0.5101 GB, free: 7.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/0.1473, allocations: 0.9365 MB / 0.511 GB, free: 6.895 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.1474, allocations: 39.44 kB / 0.511 GB, free: 6.855 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1474, allocations: 3.938 kB / 0.511 GB, free: 6.852 MB / 382.1 MB Notification: Performance of Templates: time 0.1997/0.3471, allocations: 10.64 MB / 0.5214 GB, free: 36.09 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.912804848980159] Failed to read output from testmodel.py, exit status != 0: 0.35463816160336137 0.36844606999999996 0.256075602 Calling exit ...