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.001239/0.001239, allocations: 110 kB / 18.93 MB, free: 2.945 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.001329/0.001329, allocations: 186 kB / 22.23 MB, free: 5.16 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.315/1.315, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] 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.03979/0.03979, allocations: 8.534 MB / 314.8 MB, free: 120 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.001765/0.001765, allocations: 64.08 kB / 438.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08509/0.08686, allocations: 54.24 MB / 493.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005332/0.09219, allocations: 3.81 MB / 497 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.09396, allocations: 1.095 MB / 498.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.09415, allocations: 11.94 kB / 498.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004267/0.09457, allocations: 198.9 kB / 498.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004551/0.09503, allocations: 226.8 kB / 498.5 MB, free: 416 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.09569, allocations: 366.8 kB / 498.9 MB, free: 52 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006938/0.09639, allocations: 0.6277 MB / 499.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003567/0.09674, allocations: 191.9 kB / 499.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003268/0.09707, allocations: 270.9 kB / 499.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.09742, allocations: 318.6 kB / 0.4885 GB, free: 14.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.055e-05/0.09749, allocations: 56 kB / 0.4886 GB, free: 14.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.09767, allocations: 112 kB / 0.4887 GB, free: 14.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.09787, allocations: 215.3 kB / 0.4889 GB, free: 14.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000295/0.09816, allocations: 341.9 kB / 0.4892 GB, free: 13.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009155/0.09908, allocations: 0.8792 MB / 0.4901 GB, free: 13.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.09908, allocations: 0 / 0.4901 GB, free: 13.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09908, allocations: 0 / 0.4901 GB, free: 13.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.09909, allocations: 4 kB / 0.4901 GB, free: 13.05 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.00167/0.1008, allocations: 1.039 MB / 0.4911 GB, free: 11.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1008, allocations: 12.03 kB / 0.4911 GB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.1009, allocations: 84.38 kB / 0.4912 GB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007266/0.1016, allocations: 0.5184 MB / 0.4917 GB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.1017, allocations: 40.94 kB / 0.4917 GB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.699e-05/0.1018, allocations: 43.98 kB / 0.4918 GB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000798/0.1026, allocations: 431.8 kB / 0.4922 GB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1026, allocations: 3.938 kB / 0.4922 GB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.1026, allocations: 24 kB / 0.4922 GB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.1026, allocations: 8 kB / 0.4922 GB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007459/0.1034, allocations: 319.7 kB / 0.4925 GB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002421/0.1058, allocations: 1.681 MB / 0.4942 GB, free: 8.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007826/0.1066, allocations: 305.2 kB / 0.4945 GB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.1069, allocations: 116.8 kB / 0.4946 GB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.1069, allocations: 4 kB / 0.4946 GB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003996/0.1073, allocations: 187.1 kB / 0.4948 GB, free: 8.086 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/0.1073, allocations: 0 / 0.4948 GB, free: 8.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001485/0.1088, allocations: 0.525 MB / 0.4953 GB, free: 7.551 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.1088, allocations: 59.34 kB / 0.4953 GB, free: 7.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.1099, allocations: 0.9182 MB / 0.4962 GB, free: 6.555 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.1099, allocations: 29.7 kB / 0.4963 GB, free: 6.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.1102, allocations: 360.5 kB / 0.4966 GB, free: 6.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.637e-05/0.1103, allocations: 91.28 kB / 0.4967 GB, free: 6.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.1104, allocations: 74.06 kB / 0.4968 GB, free: 5.988 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1106, allocations: 378.8 kB / 0.4971 GB, free: 5.609 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.1109, allocations: 124.7 kB / 0.4972 GB, free: 5.488 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.1113, allocations: 196 kB / 0.4974 GB, free: 5.273 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006779/0.112, allocations: 341.6 kB / 0.4977 GB, free: 4.906 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.112, allocations: 0 / 0.4977 GB, free: 4.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001054/0.1131, allocations: 0.5055 MB / 0.4982 GB, free: 4.387 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.1131, allocations: 37.69 kB / 0.4983 GB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1131, allocations: 224 / 0.4983 GB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/0.1133, allocations: 68.75 kB / 0.4983 GB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.1136, allocations: 71.89 kB / 0.4984 GB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.1154, allocations: 1.708 MB / 0.5001 GB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.1157, allocations: 55.77 kB / 0.5001 GB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.1157, allocations: 15.94 kB / 0.5001 GB, free: 2.316 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.00031/0.116, allocations: 259.8 kB / 0.5004 GB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.357e-05/0.1161, allocations: 71.5 kB / 0.5005 GB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009206/0.117, allocations: 404.8 kB / 0.5008 GB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.117, allocations: 3.938 kB / 0.5009 GB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.117, allocations: 0 / 0.5009 GB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.117, allocations: 7.984 kB / 0.5009 GB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005734/0.1176, allocations: 0.5119 MB / 0.5014 GB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1176, allocations: 0 / 0.5014 GB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.1178, allocations: 47.91 kB / 0.5014 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/0.118, allocations: 60.75 kB / 0.5015 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.1181, allocations: 11.98 kB / 0.5015 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.1198, allocations: 1.707 MB / 0.5031 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1198, allocations: 0 / 0.5031 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.1209, allocations: 0.5363 MB / 0.5037 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.1211, allocations: 87.67 kB / 0.5037 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.1212, allocations: 8 kB / 0.5038 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.1214, allocations: 19.98 kB / 0.5038 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/0.1215, allocations: 27.94 kB / 0.5038 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.1215, allocations: 12 kB / 0.5038 GB, free: 14.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007773/0.1223, allocations: 0.6591 MB / 0.5045 GB, free: 13.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1223, allocations: 0 / 0.5045 GB, free: 13.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004767/0.1227, allocations: 131.7 kB / 0.5046 GB, free: 13.57 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.002242/0.125, allocations: 0.6004 MB / 0.5052 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.126, allocations: 465.7 kB / 0.5056 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.126, allocations: 448 / 0.5056 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004759/0.1265, allocations: 262.5 kB / 0.5059 GB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.1269, allocations: 87.05 kB / 0.5059 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.129, allocations: 1.357 MB / 0.5073 GB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000608/0.1296, allocations: 0.9517 MB / 0.5082 GB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001874/0.1298, allocations: 72.23 kB / 0.5083 GB, free: 9.957 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.733e-05/0.1299, allocations: 35.42 kB / 0.5083 GB, free: 9.922 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1299, allocations: 0 / 0.5083 GB, free: 9.922 MB / 382.1 MB Notification: Performance of Templates: time 0.01303/0.1429, allocations: 6.846 MB / 0.515 GB, free: 3.09 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 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.319607881829143] Failed to read output from testmodel.py, exit status != 0: 0.14959879964590073 0.30364568799999997 0.202366346 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fba2d6a17b0>