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.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.001358/0.001358, allocations: 115.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.001472/0.001472, allocations: 192.4 kB / 22.17 MB, free: 5.656 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.585/1.585, 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-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.04286/0.04286, allocations: 8.544 MB / 314.7 MB, free: 316 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.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: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.88 kB / 438.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0903/0.09227, allocations: 54.21 MB / 492.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005966/0.09824, allocations: 3.796 MB / 496.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.1002, allocations: 1.098 MB / 497.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.1004, allocations: 8 kB / 497.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004643/0.1009, allocations: 194.9 kB / 498 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000494/0.1013, allocations: 230.8 kB / 498.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007338/0.1021, allocations: 369.8 kB / 498.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007378/0.1028, allocations: 0.6199 MB / 499.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003816/0.1032, allocations: 195.5 kB / 499.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003308/0.1035, allocations: 255 kB / 499.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004352/0.104, allocations: 322.6 kB / 499.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.461e-05/0.104, allocations: 52 kB / 500 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.1042, allocations: 115.9 kB / 0.4884 GB, free: 14.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.1045, allocations: 215.3 kB / 0.4886 GB, free: 14.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.1048, allocations: 342 kB / 0.4889 GB, free: 14.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.1058, allocations: 0.8753 MB / 0.4897 GB, free: 13.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1058, allocations: 0 / 0.4897 GB, free: 13.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1058, allocations: 3.938 kB / 0.4898 GB, free: 13.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.1058, allocations: 4 kB / 0.4898 GB, free: 13.52 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001945/0.1078, allocations: 1.11 MB / 0.4908 GB, free: 12.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1078, allocations: 15.89 kB / 0.4909 GB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.108, allocations: 88.38 kB / 0.4909 GB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008765/0.1088, allocations: 0.5866 MB / 0.4915 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/0.1089, allocations: 32.94 kB / 0.4915 GB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/0.109, allocations: 47.94 kB / 0.4916 GB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008762/0.1098, allocations: 431.8 kB / 0.492 GB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.1099, allocations: 4 kB / 0.492 GB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.1099, allocations: 16 kB / 0.492 GB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.1099, allocations: 12 kB / 0.492 GB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008462/0.1108, allocations: 307.7 kB / 0.4923 GB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002758/0.1135, allocations: 1.75 MB / 0.494 GB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008879/0.1144, allocations: 310.7 kB / 0.4943 GB, free: 8.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.1147, allocations: 116.7 kB / 0.4944 GB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.1148, allocations: 4 kB / 0.4944 GB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004547/0.1152, allocations: 191.7 kB / 0.4946 GB, free: 8.309 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 4.168e-06/0.1152, allocations: 4 kB / 0.4946 GB, free: 8.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.00181/0.117, allocations: 0.5964 MB / 0.4952 GB, free: 7.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.1171, allocations: 55.34 kB / 0.4953 GB, free: 7.613 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.1182, allocations: 0.9182 MB / 0.4962 GB, free: 6.688 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.1183, allocations: 33.7 kB / 0.4962 GB, free: 6.648 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.1186, allocations: 360.6 kB / 0.4965 GB, free: 6.289 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.337e-05/0.1187, allocations: 87.28 kB / 0.4966 GB, free: 6.203 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.1188, allocations: 78.06 kB / 0.4967 GB, free: 6.117 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.119, allocations: 378.8 kB / 0.4971 GB, free: 5.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.1194, allocations: 120.7 kB / 0.4972 GB, free: 5.621 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.1198, allocations: 200 kB / 0.4974 GB, free: 5.402 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007828/0.1206, allocations: 333.7 kB / 0.4977 GB, free: 5.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.1206, allocations: 4 kB / 0.4977 GB, free: 5.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001183/0.1218, allocations: 0.5171 MB / 0.4982 GB, free: 4.508 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/0.1218, allocations: 36.52 kB / 0.4982 GB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1218, allocations: 4.219 kB / 0.4982 GB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002753/0.1221, allocations: 60.81 kB / 0.4983 GB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.1224, allocations: 71.89 kB / 0.4984 GB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.1245, allocations: 1.818 MB / 0.5001 GB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.1248, allocations: 55.77 kB / 0.5002 GB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.1248, allocations: 12 kB / 0.5002 GB, free: 2.312 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: 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.0003425/0.1252, allocations: 258.3 kB / 0.5004 GB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.47e-05/0.1253, allocations: 71.5 kB / 0.5005 GB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.1263, allocations: 407.8 kB / 0.5009 GB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.1263, allocations: 11.92 kB / 0.5009 GB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.1263, allocations: 0 / 0.5009 GB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1263, allocations: 3.984 kB / 0.5009 GB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006205/0.1269, allocations: 0.5285 MB / 0.5014 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1269, allocations: 0 / 0.5014 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.1272, allocations: 43.97 kB / 0.5015 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002064/0.1274, allocations: 60.81 kB / 0.5015 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.1274, allocations: 7.984 kB / 0.5015 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.1293, allocations: 1.81 MB / 0.5033 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1293, allocations: 3.938 kB / 0.5033 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.1306, allocations: 0.5567 MB / 0.5039 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.1308, allocations: 152.7 kB / 0.504 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.1308, allocations: 8 kB / 0.504 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.1311, allocations: 23.97 kB / 0.504 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/0.1311, allocations: 23.97 kB / 0.5041 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.1312, allocations: 12 kB / 0.5041 GB, free: 14.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008207/0.132, allocations: 0.6552 MB / 0.5047 GB, free: 13.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.132, allocations: 0 / 0.5047 GB, free: 13.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005352/0.1325, allocations: 135.7 kB / 0.5048 GB, free: 13.31 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.002319/0.1348, allocations: 0.6012 MB / 0.5054 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.1359, allocations: 474.7 kB / 0.5059 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1359, allocations: 8 kB / 0.5059 GB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005393/0.1365, allocations: 262.5 kB / 0.5061 GB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.137, allocations: 81.81 kB / 0.5062 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.1392, allocations: 1.363 MB / 0.5075 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000621/0.1398, allocations: 0.9479 MB / 0.5085 GB, free: 9.777 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.14, allocations: 76.23 kB / 0.5085 GB, free: 9.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1401, allocations: 35.44 kB / 0.5086 GB, free: 9.664 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1401, allocations: 0 / 0.5086 GB, free: 9.664 MB / 382.1 MB Notification: Performance of Templates: time 0.01384/0.154, allocations: 6.755 MB / 0.5152 GB, free: 2.926 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 -s gbode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.89533138461411] Failed to read output from testmodel.py, exit status != 0: 0.16116935899481177 0.336038896 0.22774185400000002 Calling exit ...