Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001287/0.001287, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001487/0.001487, allocations: 218 kB / 23.01 MB, free: 4.605 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.04339/0.04339, allocations: 8.528 MB / 321.7 MB, free: 10.66 MB / 254.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.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_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_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.001963/0.001963, allocations: 67.91 kB / 448.2 MB, free: 15.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1052, allocations: 55.41 MB / 0.4918 GB, free: 7.992 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006183/0.1114, allocations: 3.891 MB / 0.4956 GB, free: 4.078 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.1137, allocations: 1.242 MB / 0.4968 GB, free: 2.832 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002977/0.114, allocations: 11.94 kB / 0.4968 GB, free: 2.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005335/0.1145, allocations: 206.9 kB / 0.497 GB, free: 2.617 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006579/0.1152, allocations: 270.6 kB / 0.4973 GB, free: 2.352 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008719/0.116, allocations: 374.9 kB / 0.4976 GB, free: 1.988 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008023/0.1168, allocations: 0.6432 MB / 0.4983 GB, free: 1.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004164/0.1173, allocations: 199.9 kB / 0.4985 GB, free: 1.137 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004397/0.1177, allocations: 278.9 kB / 0.4987 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000389/0.1181, allocations: 314.6 kB / 0.499 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.584e-05/0.1182, allocations: 56 kB / 0.4991 GB, free: 0.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.1184, allocations: 124 kB / 0.4992 GB, free: 388 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.1186, allocations: 215.3 kB / 0.4994 GB, free: 172 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003288/0.1189, allocations: 346 kB / 0.4997 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.12, allocations: 0.8947 MB / 0.5006 GB, free: 14.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.12, allocations: 0 / 0.5006 GB, free: 14.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.12, allocations: 3.938 kB / 0.5006 GB, free: 14.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.12, allocations: 0 / 0.5006 GB, free: 14.93 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.001876/0.1219, allocations: 1.043 MB / 0.5016 GB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1219, allocations: 12.03 kB / 0.5016 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.1221, allocations: 88.38 kB / 0.5017 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008247/0.1229, allocations: 0.5339 MB / 0.5022 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/0.123, allocations: 40.94 kB / 0.5023 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.805e-05/0.123, allocations: 51.92 kB / 0.5023 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008524/0.1239, allocations: 427.9 kB / 0.5027 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.1239, allocations: 3.938 kB / 0.5027 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.176e-05/0.124, allocations: 16 kB / 0.5028 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.124, allocations: 12 kB / 0.5028 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007409/0.1247, allocations: 311.7 kB / 0.5031 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00268/0.1274, allocations: 1.681 MB / 0.5047 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008137/0.1282, allocations: 314.7 kB / 0.505 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.1285, allocations: 120.8 kB / 0.5051 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.1285, allocations: 0 / 0.5051 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004402/0.129, allocations: 187.2 kB / 0.5053 GB, free: 9.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.843e-06/0.129, allocations: 0 / 0.5053 GB, free: 9.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001596/0.1306, allocations: 0.5173 MB / 0.5058 GB, free: 9.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.1306, allocations: 63.33 kB / 0.5059 GB, free: 9.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.1318, allocations: 0.9417 MB / 0.5068 GB, free: 8.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.1318, allocations: 29.7 kB / 0.5068 GB, free: 8.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.1322, allocations: 356.5 kB / 0.5072 GB, free: 7.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.473e-05/0.1323, allocations: 87.27 kB / 0.5072 GB, free: 7.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.1324, allocations: 85.97 kB / 0.5073 GB, free: 7.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.1326, allocations: 382.8 kB / 0.5077 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.1329, allocations: 120.7 kB / 0.5078 GB, free: 7.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.1333, allocations: 199.8 kB / 0.508 GB, free: 7.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.134, allocations: 337.6 kB / 0.5083 GB, free: 6.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.134, allocations: 0 / 0.5083 GB, free: 6.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001086/0.1351, allocations: 0.5019 MB / 0.5088 GB, free: 6.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.1351, allocations: 37.7 kB / 0.5088 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.1352, allocations: 0 / 0.5088 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/0.1354, allocations: 69.03 kB / 0.5089 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.1357, allocations: 71.89 kB / 0.509 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.1375, allocations: 1.711 MB / 0.5106 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.1378, allocations: 55.73 kB / 0.5107 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.1378, allocations: 12 kB / 0.5107 GB, free: 4.145 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.0003288/0.1381, allocations: 269.7 kB / 0.511 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.978e-05/0.1382, allocations: 71.52 kB / 0.511 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009322/0.1392, allocations: 405 kB / 0.5114 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1392, allocations: 7.875 kB / 0.5114 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.1392, allocations: 0 / 0.5114 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1392, allocations: 3.984 kB / 0.5114 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005805/0.1398, allocations: 0.5199 MB / 0.5119 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1398, allocations: 4 kB / 0.5119 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.14, allocations: 39.97 kB / 0.512 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001896/0.1402, allocations: 64.75 kB / 0.512 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.1402, allocations: 4 kB / 0.512 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.1419, allocations: 1.715 MB / 0.5137 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1419, allocations: 3.938 kB / 0.5137 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.1431, allocations: 0.5445 MB / 0.5143 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.1433, allocations: 91.53 kB / 0.5143 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.578e-05/0.1433, allocations: 4 kB / 0.5143 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.1435, allocations: 20.17 kB / 0.5144 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.817e-05/0.1436, allocations: 35.94 kB / 0.5144 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.1436, allocations: 4 kB / 0.5144 GB, free: 156 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2203/0.364, allocations: 0.6692 MB / 0.5151 GB, free: 26.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.364, allocations: 0 / 0.5151 GB, free: 26.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007678/0.3647, allocations: 127.7 kB / 0.5152 GB, free: 26.68 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.002435/0.3672, allocations: 0.5999 MB / 0.5158 GB, free: 26.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.3683, allocations: 475.1 kB / 0.5162 GB, free: 26.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3683, allocations: 1.531 kB / 0.5162 GB, free: 26.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.3687, allocations: 265.4 kB / 0.5165 GB, free: 26.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.3693, allocations: 99.59 kB / 0.5166 GB, free: 26.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.3714, allocations: 1.393 MB / 0.5179 GB, free: 25.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.3718, allocations: 0.9487 MB / 0.5189 GB, free: 24.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.3719, allocations: 36.81 kB / 0.5189 GB, free: 24.96 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3719, allocations: 2.297 kB / 0.5189 GB, free: 24.96 MB / 382.1 MB Notification: Performance of Templates: time 0.01683/0.3888, allocations: 10.89 MB / 0.5295 GB, free: 22.5 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.010926448041573] Failed to read output from testmodel.py, exit status != 0: 0.39618372288532555 0.40821815100000003 0.28551805 Calling exit ...