Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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.001671/0.001671, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002247/0.002247, allocations: 186.4 kB / 22.22 MB, free: 5.102 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.333/1.333, allocations: 225.6 MB / 251 MB, free: 13.02 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.03992/0.03992, allocations: 8.542 MB / 314.8 MB, free: 156 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.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 71.89 kB / 438.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08996/0.09178, allocations: 54.25 MB / 493.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.005569/0.09735, allocations: 3.887 MB / 497.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002635/0.09999, allocations: 1.815 MB / 498.9 MB, free: 96 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.1002, allocations: 11.94 kB / 498.9 MB, free: 84 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.1006, allocations: 206.9 kB / 499.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004813/0.1011, allocations: 238.7 kB / 499.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007037/0.1018, allocations: 377.3 kB / 499.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007364/0.1026, allocations: 0.6667 MB / 0.4886 GB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004002/0.103, allocations: 233.8 kB / 0.4889 GB, free: 14.37 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003424/0.1033, allocations: 278.8 kB / 0.4891 GB, free: 14.1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004267/0.1037, allocations: 354.5 kB / 0.4895 GB, free: 13.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.451e-05/0.1038, allocations: 60 kB / 0.4895 GB, free: 13.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.104, allocations: 120 kB / 0.4896 GB, free: 13.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.1042, allocations: 223.3 kB / 0.4899 GB, free: 13.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.1045, allocations: 377.8 kB / 0.4902 GB, free: 12.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009773/0.1055, allocations: 0.9181 MB / 0.4911 GB, free: 12.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1055, allocations: 0 / 0.4911 GB, free: 12.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1055, allocations: 0 / 0.4911 GB, free: 12.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.1055, allocations: 0 / 0.4911 GB, free: 12.06 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001753/0.1072, allocations: 1.085 MB / 0.4922 GB, free: 10.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1073, allocations: 8.031 kB / 0.4922 GB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.1074, allocations: 100.3 kB / 0.4923 GB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007508/0.1082, allocations: 0.5339 MB / 0.4928 GB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.553e-05/0.1082, allocations: 44.94 kB / 0.4928 GB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.307e-05/0.1083, allocations: 48 kB / 0.4929 GB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008796/0.1092, allocations: 479.8 kB / 0.4933 GB, free: 9.691 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.1092, allocations: 3.953 kB / 0.4933 GB, free: 9.688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.1092, allocations: 20 kB / 0.4934 GB, free: 9.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.1092, allocations: 12 kB / 0.4934 GB, free: 9.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008306/0.1101, allocations: 355.7 kB / 0.4937 GB, free: 9.309 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002525/0.1126, allocations: 1.786 MB / 0.4955 GB, free: 7.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007741/0.1134, allocations: 322.7 kB / 0.4958 GB, free: 7.129 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.1137, allocations: 136.8 kB / 0.4959 GB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.1137, allocations: 7.938 kB / 0.4959 GB, free: 6.984 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004323/0.1142, allocations: 199.2 kB / 0.4961 GB, free: 6.777 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.1142, allocations: 11.94 kB / 0.4961 GB, free: 6.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.001573/0.1157, allocations: 0.5687 MB / 0.4967 GB, free: 6.188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.1158, allocations: 55.41 kB / 0.4967 GB, free: 6.121 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.1168, allocations: 0.926 MB / 0.4976 GB, free: 5.188 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.1169, allocations: 33.7 kB / 0.4977 GB, free: 5.148 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.1172, allocations: 372.5 kB / 0.498 GB, free: 4.781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.381e-05/0.1172, allocations: 99.16 kB / 0.4981 GB, free: 4.684 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.1174, allocations: 86.08 kB / 0.4982 GB, free: 4.594 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.1175, allocations: 378.8 kB / 0.4985 GB, free: 4.215 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.1179, allocations: 136.8 kB / 0.4987 GB, free: 4.078 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/0.1183, allocations: 207.1 kB / 0.4989 GB, free: 3.852 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007195/0.119, allocations: 368.2 kB / 0.4992 GB, free: 3.461 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.119, allocations: 7.938 kB / 0.4992 GB, free: 3.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001076/0.1201, allocations: 0.5345 MB / 0.4998 GB, free: 2.902 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.1201, allocations: 33.7 kB / 0.4998 GB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1201, allocations: 0 / 0.4998 GB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/0.1204, allocations: 64.75 kB / 0.4998 GB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.1207, allocations: 71.89 kB / 0.4999 GB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.1224, allocations: 1.72 MB / 0.5016 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.1227, allocations: 55.7 kB / 0.5017 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.1227, allocations: 12 kB / 0.5017 GB, free: 0.832 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: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$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 (44): * Single equations (assignments): 42 * 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.0003121/0.123, allocations: 273.7 kB / 0.5019 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.979e-05/0.1231, allocations: 63.58 kB / 0.502 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009666/0.124, allocations: 437.4 kB / 0.5024 GB, free: 48 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1241, allocations: 4 kB / 0.5024 GB, free: 44 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.1241, allocations: 0 / 0.5024 GB, free: 44 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1241, allocations: 3.984 kB / 0.5024 GB, free: 40 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006061/0.1247, allocations: 0.5508 MB / 0.5029 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1247, allocations: 0 / 0.5029 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.1249, allocations: 43.97 kB / 0.503 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001851/0.1251, allocations: 60.75 kB / 0.503 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.1251, allocations: 11.98 kB / 0.5031 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.1267, allocations: 1.711 MB / 0.5047 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1267, allocations: 0 / 0.5047 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.128, allocations: 0.5889 MB / 0.5053 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.1282, allocations: 83.55 kB / 0.5054 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/0.1282, allocations: 4 kB / 0.5054 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.1284, allocations: 23.97 kB / 0.5054 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.764e-05/0.1285, allocations: 39.88 kB / 0.5054 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.1285, allocations: 4 kB / 0.5055 GB, free: 12.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000768/0.1293, allocations: 0.6669 MB / 0.5061 GB, free: 12.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1293, allocations: 0 / 0.5061 GB, free: 12.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004891/0.1298, allocations: 147.6 kB / 0.5062 GB, free: 11.93 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: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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.002208/0.132, allocations: 0.5995 MB / 0.5068 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.133, allocations: 0.4939 MB / 0.5073 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.133, allocations: 4 kB / 0.5073 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004978/0.1335, allocations: 275.4 kB / 0.5076 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.134, allocations: 98 kB / 0.5077 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.1364, allocations: 1.416 MB / 0.5091 GB, free: 9.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006/0.137, allocations: 0.9589 MB / 0.51 GB, free: 8.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001824/0.1372, allocations: 72.36 kB / 0.5101 GB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.1373, allocations: 43.42 kB / 0.5101 GB, free: 8.152 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1373, allocations: 0 / 0.5101 GB, free: 8.152 MB / 382.1 MB Notification: Performance of Templates: time 0.01351/0.1508, allocations: 7.083 MB / 0.517 GB, free: 1.078 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.42864562291652] Failed to read output from testmodel.py, exit status != 0: 0.3159182071685791 0.32716636499999996 0.219479206 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f58c40b97b0>