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.001497/0.001497, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001532/0.001532, allocations: 197.8 kB / 22.17 MB, free: 5.211 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.552/1.552, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.04398/0.04398, allocations: 8.541 MB / 314.7 MB, free: 292 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.001968/0.001968, allocations: 67.89 kB / 438.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1422, allocations: 54.2 MB / 492.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006163/0.1484, allocations: 3.803 MB / 496.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.1505, allocations: 1.095 MB / 497.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.1507, allocations: 12 kB / 497.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004843/0.1512, allocations: 198.9 kB / 498 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005096/0.1517, allocations: 230.7 kB / 498.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007827/0.1525, allocations: 362.5 kB / 498.5 MB, free: 468 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007642/0.1532, allocations: 0.6277 MB / 499.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.1536, allocations: 195.4 kB / 499.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.154, allocations: 255 kB / 499.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003847/0.1544, allocations: 314.6 kB / 499.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.545e-05/0.1544, allocations: 56 kB / 500 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.1546, allocations: 116 kB / 0.4884 GB, free: 14.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.1548, allocations: 219.3 kB / 0.4886 GB, free: 14.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.1551, allocations: 345.9 kB / 0.4889 GB, free: 14.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.1562, allocations: 0.8714 MB / 0.4898 GB, free: 13.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1562, allocations: 0 / 0.4898 GB, free: 13.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1562, allocations: 0 / 0.4898 GB, free: 13.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1562, allocations: 0 / 0.4898 GB, free: 13.47 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.001855/0.158, allocations: 1.11 MB / 0.4908 GB, free: 12.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1581, allocations: 15.89 kB / 0.4909 GB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.1582, allocations: 92.36 kB / 0.4909 GB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008338/0.1591, allocations: 0.5827 MB / 0.4915 GB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/0.1591, allocations: 40.94 kB / 0.4916 GB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-05/0.1592, allocations: 43.94 kB / 0.4916 GB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008768/0.16, allocations: 431.9 kB / 0.492 GB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.1601, allocations: 3.984 kB / 0.492 GB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.1601, allocations: 16 kB / 0.492 GB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.1601, allocations: 8 kB / 0.492 GB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008016/0.1609, allocations: 319.7 kB / 0.4923 GB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.1635, allocations: 1.746 MB / 0.494 GB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008498/0.1644, allocations: 306.8 kB / 0.4943 GB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.1647, allocations: 112.8 kB / 0.4944 GB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.1647, allocations: 7.984 kB / 0.4944 GB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004501/0.1652, allocations: 187.8 kB / 0.4946 GB, free: 8.258 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.914e-06/0.1652, allocations: 0 / 0.4946 GB, free: 8.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001714/0.1669, allocations: 0.6082 MB / 0.4952 GB, free: 7.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.1669, allocations: 55.34 kB / 0.4953 GB, free: 7.555 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.1681, allocations: 0.9182 MB / 0.4962 GB, free: 6.629 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.1681, allocations: 33.7 kB / 0.4962 GB, free: 6.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.1684, allocations: 348.5 kB / 0.4965 GB, free: 6.242 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.543e-05/0.1685, allocations: 87.28 kB / 0.4966 GB, free: 6.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.1686, allocations: 78.06 kB / 0.4967 GB, free: 6.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.1688, allocations: 382.8 kB / 0.4971 GB, free: 5.688 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.1692, allocations: 128.6 kB / 0.4972 GB, free: 5.562 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/0.1696, allocations: 192 kB / 0.4974 GB, free: 5.352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007331/0.1703, allocations: 349.5 kB / 0.4977 GB, free: 4.977 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.1703, allocations: 0 / 0.4977 GB, free: 4.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001127/0.1714, allocations: 0.5172 MB / 0.4982 GB, free: 4.445 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.015e-05/0.1715, allocations: 29.7 kB / 0.4982 GB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.1715, allocations: 4 kB / 0.4982 GB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/0.1718, allocations: 60.81 kB / 0.4983 GB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.1721, allocations: 72.05 kB / 0.4984 GB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.1741, allocations: 1.807 MB / 0.5001 GB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.1743, allocations: 51.73 kB / 0.5002 GB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.1744, allocations: 12 kB / 0.5002 GB, free: 2.27 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.0003391/0.1747, allocations: 270.7 kB / 0.5004 GB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.322e-05/0.1748, allocations: 75.56 kB / 0.5005 GB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.1758, allocations: 399.8 kB / 0.5009 GB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.1758, allocations: 11.88 kB / 0.5009 GB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.1758, allocations: 0 / 0.5009 GB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1758, allocations: 4 kB / 0.5009 GB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006106/0.1764, allocations: 0.5363 MB / 0.5014 GB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1764, allocations: 0 / 0.5014 GB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.1767, allocations: 39.97 kB / 0.5015 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000211/0.1769, allocations: 64.75 kB / 0.5015 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.1769, allocations: 4 kB / 0.5015 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.1788, allocations: 1.818 MB / 0.5033 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1788, allocations: 0 / 0.5033 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.1801, allocations: 0.5529 MB / 0.5039 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.1803, allocations: 152.7 kB / 0.504 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.681e-05/0.1804, allocations: 11.98 kB / 0.504 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.1806, allocations: 15.98 kB / 0.504 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/0.1807, allocations: 27.95 kB / 0.5041 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.1807, allocations: 4 kB / 0.5041 GB, free: 14.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008267/0.1815, allocations: 0.663 MB / 0.5047 GB, free: 13.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1815, allocations: 0 / 0.5047 GB, free: 13.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005359/0.1821, 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.002322/0.1844, allocations: 0.606 MB / 0.5054 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.1855, allocations: 473.7 kB / 0.5059 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1855, allocations: 3.938 kB / 0.5059 GB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005332/0.186, allocations: 259 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.0004981/0.1865, allocations: 89.23 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.002276/0.1888, allocations: 1.363 MB / 0.5075 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006495/0.1895, allocations: 0.9362 MB / 0.5085 GB, free: 9.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.1896, allocations: 76.23 kB / 0.5085 GB, free: 9.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.1897, allocations: 39.42 kB / 0.5086 GB, free: 9.617 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1897, allocations: 4 kB / 0.5086 GB, free: 9.613 MB / 382.1 MB Notification: Performance of Templates: time 0.0149/0.2046, allocations: 6.76 MB / 0.5152 GB, free: 2.871 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 cvode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.128211998380721] Failed to read output from testmodel.py, exit status != 0: 0.21276718191802502 0.48290431300000003 0.323985364 Calling exit ...