Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001763/0.001763, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002456/0.002456, allocations: 192.4 kB / 22.17 MB, free: 5.652 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.469/1.469, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.04595/0.04595, allocations: 8.533 MB / 314.7 MB, free: 308 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.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 67.89 kB / 438.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1177, allocations: 54.2 MB / 492.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006085/0.1238, allocations: 3.89 MB / 496.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003001/0.1268, allocations: 1.8 MB / 498.5 MB, free: 492 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.127, allocations: 11.94 kB / 498.6 MB, free: 480 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005352/0.1276, allocations: 206.8 kB / 498.8 MB, free: 272 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005785/0.1282, allocations: 242.7 kB / 499 MB, free: 28 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008537/0.129, allocations: 377 kB / 499.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007939/0.1298, allocations: 0.6589 MB / 0.4883 GB, free: 15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004379/0.1302, allocations: 233.3 kB / 0.4885 GB, free: 14.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003709/0.1306, allocations: 282.8 kB / 0.4888 GB, free: 14.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004865/0.1311, allocations: 342.6 kB / 0.4891 GB, free: 14.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.1312, allocations: 60 kB / 0.4892 GB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.1314, allocations: 124 kB / 0.4893 GB, free: 13.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.1316, allocations: 227.2 kB / 0.4895 GB, free: 13.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003306/0.132, allocations: 365.8 kB / 0.4899 GB, free: 13.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.1331, allocations: 0.9258 MB / 0.4908 GB, free: 12.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1331, allocations: 0 / 0.4908 GB, free: 12.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1331, allocations: 4 kB / 0.4908 GB, free: 12.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.1331, allocations: 0 / 0.4908 GB, free: 12.45 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.002098/0.1352, allocations: 1.149 MB / 0.4919 GB, free: 11.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1352, allocations: 15.89 kB / 0.4919 GB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.1354, allocations: 104.2 kB / 0.492 GB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009272/0.1363, allocations: 0.6022 MB / 0.4926 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.594e-05/0.1364, allocations: 40.94 kB / 0.4926 GB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-05/0.1365, allocations: 48 kB / 0.4927 GB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009825/0.1374, allocations: 483.8 kB / 0.4931 GB, free: 9.906 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.1375, allocations: 3.953 kB / 0.4931 GB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.1375, allocations: 20 kB / 0.4932 GB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1375, allocations: 12 kB / 0.4932 GB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009568/0.1385, allocations: 351.7 kB / 0.4935 GB, free: 9.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/0.1414, allocations: 1.871 MB / 0.4953 GB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008828/0.1423, allocations: 318.7 kB / 0.4956 GB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.1427, allocations: 132.8 kB / 0.4958 GB, free: 7.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/0.1427, allocations: 4 kB / 0.4958 GB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005267/0.1432, allocations: 199.2 kB / 0.496 GB, free: 6.914 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.635e-06/0.1432, allocations: 0 / 0.496 GB, free: 6.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.001944/0.1452, allocations: 0.6479 MB / 0.4966 GB, free: 6.238 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.1452, allocations: 59.41 kB / 0.4967 GB, free: 6.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.1468, allocations: 0.9221 MB / 0.4976 GB, free: 5.238 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.019e-05/0.1469, allocations: 33.7 kB / 0.4976 GB, free: 5.199 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004521/0.1474, allocations: 376.4 kB / 0.4979 GB, free: 4.828 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.1475, allocations: 99.17 kB / 0.498 GB, free: 4.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.1477, allocations: 82.08 kB / 0.4981 GB, free: 4.645 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003101/0.148, allocations: 378.8 kB / 0.4985 GB, free: 4.266 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006166/0.1486, allocations: 144.7 kB / 0.4986 GB, free: 4.121 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005536/0.1492, allocations: 207.1 kB / 0.4988 GB, free: 3.895 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.1505, allocations: 364.2 kB / 0.4992 GB, free: 3.508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/0.1505, allocations: 7.938 kB / 0.4992 GB, free: 3.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001911/0.1524, allocations: 0.5267 MB / 0.4997 GB, free: 2.957 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.1525, allocations: 37.7 kB / 0.4997 GB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.1525, allocations: 0 / 0.4997 GB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004152/0.153, allocations: 60.75 kB / 0.4998 GB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.1534, allocations: 79.83 kB / 0.4999 GB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/0.1564, allocations: 1.818 MB / 0.5016 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/0.157, allocations: 59.67 kB / 0.5017 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.1571, allocations: 16 kB / 0.5017 GB, free: 0.7461 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.0006035/0.1577, allocations: 269.3 kB / 0.502 GB, free: 488 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.1578, allocations: 71.62 kB / 0.502 GB, free: 416 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.1595, allocations: 437.3 kB / 0.5024 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1595, allocations: 0 / 0.5024 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1595, allocations: 8 kB / 0.5025 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1595, allocations: 0 / 0.5025 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.1605, allocations: 0.5828 MB / 0.503 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1605, allocations: 3.938 kB / 0.503 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/0.1609, allocations: 39.97 kB / 0.5031 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003201/0.1613, allocations: 60.81 kB / 0.5031 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.1613, allocations: 4 kB / 0.5031 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/0.1641, allocations: 1.818 MB / 0.5049 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1641, allocations: 0 / 0.5049 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.1665, allocations: 0.589 MB / 0.5055 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.1669, allocations: 156.7 kB / 0.5056 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.167, allocations: 15.94 kB / 0.5056 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.1674, allocations: 23.97 kB / 0.5057 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.1675, allocations: 35.89 kB / 0.5057 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/0.1676, allocations: 12 kB / 0.5057 GB, free: 12.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001495/0.1691, allocations: 0.6552 MB / 0.5064 GB, free: 11.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1691, allocations: 0 / 0.5064 GB, free: 11.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009693/0.17, allocations: 147.6 kB / 0.5065 GB, free: 11.59 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.003239/0.1733, allocations: 0.5962 MB / 0.5071 GB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.1753, allocations: 0.4978 MB / 0.5076 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1753, allocations: 0 / 0.5076 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009666/0.1762, allocations: 283.4 kB / 0.5078 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009396/0.1772, allocations: 95.69 kB / 0.5079 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/0.1814, allocations: 1.427 MB / 0.5093 GB, free: 8.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.1825, allocations: 0.9635 MB / 0.5103 GB, free: 7.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003315/0.1828, allocations: 64.36 kB / 0.5103 GB, free: 7.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.183, allocations: 35.44 kB / 0.5104 GB, free: 7.824 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.183, allocations: 0 / 0.5104 GB, free: 7.824 MB / 382.1 MB Notification: Performance of Templates: time 0.02587/0.2089, allocations: 7.005 MB / 0.5172 GB, free: 0.832 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.000881965272129] Failed to read output from testmodel.py, exit status != 0: 0.40992204705253243 0.422749892 0.287238934 Calling exit ...