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.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.001743/0.001743, allocations: 107.7 kB / 18.88 MB, free: 3.051 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.002129/0.002129, allocations: 200.3 kB / 22.17 MB, free: 5.203 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.477/1.477, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.04253/0.04253, allocations: 8.538 MB / 314.7 MB, free: 284 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.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: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 64.05 kB / 438.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08938/0.09132, allocations: 54.2 MB / 492.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005911/0.09723, allocations: 3.808 MB / 496.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.09925, allocations: 1.087 MB / 497.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.09944, allocations: 8 kB / 497.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004624/0.09991, allocations: 206.9 kB / 498 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000497/0.1004, allocations: 222.8 kB / 498.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007522/0.1012, allocations: 381.8 kB / 498.5 MB, free: 456 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007399/0.1019, allocations: 0.6199 MB / 499.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000381/0.1023, allocations: 191.5 kB / 499.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003597/0.1026, allocations: 263 kB / 499.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.103, allocations: 306.7 kB / 499.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.488e-05/0.1031, allocations: 56 kB / 500 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.1033, allocations: 119.9 kB / 0.4884 GB, free: 14.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.1035, allocations: 215.3 kB / 0.4886 GB, free: 14.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003202/0.1038, allocations: 349.9 kB / 0.4889 GB, free: 14.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.1049, allocations: 0.8714 MB / 0.4897 GB, free: 13.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1049, allocations: 4 kB / 0.4898 GB, free: 13.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1049, allocations: 0 / 0.4898 GB, free: 13.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1049, allocations: 0 / 0.4898 GB, free: 13.46 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.001877/0.1067, allocations: 1.114 MB / 0.4908 GB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1068, allocations: 15.89 kB / 0.4909 GB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.1069, allocations: 84.38 kB / 0.4909 GB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008375/0.1078, allocations: 0.5749 MB / 0.4915 GB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.1078, allocations: 44.88 kB / 0.4915 GB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.271e-05/0.1079, allocations: 40 kB / 0.4916 GB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008819/0.1088, allocations: 435.8 kB / 0.492 GB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.1088, allocations: 3.938 kB / 0.492 GB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.1088, allocations: 16 kB / 0.492 GB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.1088, allocations: 8 kB / 0.492 GB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008276/0.1097, allocations: 319.7 kB / 0.4923 GB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002678/0.1123, allocations: 1.746 MB / 0.494 GB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008605/0.1132, allocations: 310.8 kB / 0.4943 GB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.1135, allocations: 117.7 kB / 0.4944 GB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.1136, allocations: 7.938 kB / 0.4944 GB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004673/0.114, allocations: 187.1 kB / 0.4946 GB, free: 8.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.884e-06/0.114, allocations: 0 / 0.4946 GB, free: 8.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001761/0.1158, allocations: 0.6003 MB / 0.4952 GB, free: 7.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.1158, allocations: 59.34 kB / 0.4953 GB, free: 7.551 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.117, allocations: 0.9182 MB / 0.4962 GB, free: 6.625 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.117, allocations: 33.7 kB / 0.4962 GB, free: 6.586 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.1174, allocations: 348.5 kB / 0.4965 GB, free: 6.238 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.564e-05/0.1174, allocations: 91.27 kB / 0.4966 GB, free: 6.148 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.1176, allocations: 78.06 kB / 0.4967 GB, free: 6.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.1178, allocations: 378.8 kB / 0.4971 GB, free: 5.684 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/0.1182, allocations: 128.7 kB / 0.4972 GB, free: 5.559 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004116/0.1186, allocations: 195.9 kB / 0.4974 GB, free: 5.344 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007487/0.1194, allocations: 337.6 kB / 0.4977 GB, free: 4.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1194, allocations: 0 / 0.4977 GB, free: 4.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001172/0.1205, allocations: 0.525 MB / 0.4982 GB, free: 4.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.1206, allocations: 29.7 kB / 0.4982 GB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1206, allocations: 4 kB / 0.4982 GB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002723/0.1209, allocations: 60.81 kB / 0.4983 GB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.1212, allocations: 67.89 kB / 0.4984 GB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.1232, allocations: 1.818 MB / 0.5001 GB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.1235, allocations: 47.75 kB / 0.5002 GB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.1235, allocations: 12 kB / 0.5002 GB, free: 2.262 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.0003305/0.1238, allocations: 269.2 kB / 0.5004 GB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-05/0.1239, allocations: 71.45 kB / 0.5005 GB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.125, allocations: 399.9 kB / 0.5009 GB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.125, allocations: 7.938 kB / 0.5009 GB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.125, allocations: 0 / 0.5009 GB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.125, allocations: 3.938 kB / 0.5009 GB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006227/0.1256, allocations: 0.5363 MB / 0.5014 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1256, allocations: 4 kB / 0.5014 GB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.1259, allocations: 39.97 kB / 0.5015 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002108/0.1261, allocations: 60.81 kB / 0.5015 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.1261, allocations: 4 kB / 0.5015 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/0.1279, allocations: 1.818 MB / 0.5033 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.1279, allocations: 3.938 kB / 0.5033 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.1293, allocations: 0.5529 MB / 0.5038 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.1295, allocations: 156.7 kB / 0.504 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.082e-05/0.1295, allocations: 8 kB / 0.504 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.1298, allocations: 15.98 kB / 0.504 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.62e-05/0.1298, allocations: 27.95 kB / 0.504 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.1299, allocations: 4 kB / 0.5041 GB, free: 14.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008137/0.1307, allocations: 0.6591 MB / 0.5047 GB, free: 13.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1307, allocations: 4 kB / 0.5047 GB, free: 13.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000503/0.1312, allocations: 131.7 kB / 0.5048 GB, free: 13.26 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.002308/0.1335, allocations: 0.6035 MB / 0.5054 GB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.1346, allocations: 477.8 kB / 0.5059 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1346, allocations: 0 / 0.5059 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005367/0.1352, allocations: 258.5 kB / 0.5061 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.1357, allocations: 104.9 kB / 0.5062 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.1379, allocations: 1.359 MB / 0.5075 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006571/0.1386, allocations: 0.9401 MB / 0.5085 GB, free: 9.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.1387, allocations: 76.23 kB / 0.5085 GB, free: 9.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.1388, allocations: 35.42 kB / 0.5086 GB, free: 9.617 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1388, allocations: 0 / 0.5086 GB, free: 9.617 MB / 382.1 MB Notification: Performance of Templates: time 0.0141/0.153, allocations: 6.753 MB / 0.5152 GB, free: 2.879 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 -s gbode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7991516618058085] Failed to read output from testmodel.py, exit status != 0: 0.1605206341482699 0.32902604599999996 0.221885293 Calling exit ...