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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 213.8 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.04427/0.04427, allocations: 8.542 MB / 321.7 MB, free: 10.41 MB / 254.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 67.89 kB / 448.1 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1281, allocations: 55.42 MB / 0.4917 GB, free: 7.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006361/0.1344, allocations: 3.669 MB / 0.4953 GB, free: 3.922 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003412/0.1378, allocations: 1.886 MB / 0.4972 GB, free: 2.031 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002754/0.1381, allocations: 11.94 kB / 0.4972 GB, free: 2.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006216/0.1387, allocations: 210.8 kB / 0.4974 GB, free: 1.812 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009362/0.1397, allocations: 294.5 kB / 0.4977 GB, free: 1.523 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.1408, allocations: 381.4 kB / 0.498 GB, free: 1.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.1418, allocations: 0.6823 MB / 0.4987 GB, free: 480 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005205/0.1423, allocations: 229.6 kB / 0.4989 GB, free: 244 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005068/0.1428, allocations: 298.9 kB / 0.4992 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004672/0.1433, allocations: 310.5 kB / 0.4995 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.1434, allocations: 64 kB / 0.4995 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.1436, allocations: 124 kB / 0.4997 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.1439, allocations: 231.2 kB / 0.4999 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.1442, allocations: 286.3 kB / 0.5002 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.1454, allocations: 0.9454 MB / 0.5011 GB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1454, allocations: 7.938 kB / 0.5011 GB, free: 13.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1454, allocations: 0 / 0.5011 GB, free: 13.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.1455, allocations: 0 / 0.5011 GB, free: 13.99 MB / 382.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.001978/0.1474, allocations: 1.093 MB / 0.5022 GB, free: 12.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1475, allocations: 8.031 kB / 0.5022 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.1476, allocations: 96.33 kB / 0.5023 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000915/0.1485, allocations: 0.5456 MB / 0.5028 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.023e-05/0.1486, allocations: 40.94 kB / 0.5028 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.264e-05/0.1487, allocations: 51.95 kB / 0.5029 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009398/0.1496, allocations: 487.8 kB / 0.5033 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.1496, allocations: 4 kB / 0.5033 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.1497, allocations: 16 kB / 0.5034 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.1497, allocations: 12 kB / 0.5034 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008827/0.1506, allocations: 351.7 kB / 0.5037 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.1532, allocations: 1.58 MB / 0.5052 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008339/0.1541, allocations: 327.2 kB / 0.5056 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.1544, allocations: 132.8 kB / 0.5057 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.1545, allocations: 8 kB / 0.5057 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004756/0.1549, allocations: 191.3 kB / 0.5059 GB, free: 8.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/0.1549, allocations: 0 / 0.5059 GB, free: 8.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001728/0.1567, allocations: 0.5759 MB / 0.5064 GB, free: 8.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.1567, allocations: 59.39 kB / 0.5065 GB, free: 8.262 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.1579, allocations: 0.9377 MB / 0.5074 GB, free: 7.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.158, allocations: 33.7 kB / 0.5074 GB, free: 7.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/0.1583, allocations: 380.3 kB / 0.5078 GB, free: 6.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.912e-05/0.1584, allocations: 107.1 kB / 0.5079 GB, free: 6.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.1586, allocations: 86.06 kB / 0.508 GB, free: 6.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.1588, allocations: 378.8 kB / 0.5084 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.1592, allocations: 174.5 kB / 0.5085 GB, free: 6.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004522/0.1597, allocations: 228.8 kB / 0.5087 GB, free: 5.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007946/0.1605, allocations: 368 kB / 0.5091 GB, free: 5.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.1605, allocations: 4 kB / 0.5091 GB, free: 5.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001208/0.1617, allocations: 0.5674 MB / 0.5096 GB, free: 4.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/0.1617, allocations: 41.62 kB / 0.5097 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.1617, allocations: 0 / 0.5097 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003042/0.162, allocations: 60.81 kB / 0.5097 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.1623, allocations: 79.98 kB / 0.5098 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.1643, allocations: 1.676 MB / 0.5115 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.1646, allocations: 43.77 kB / 0.5115 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.1646, allocations: 20.05 kB / 0.5115 GB, free: 2.883 MB / 382.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.0003939/0.165, allocations: 277.6 kB / 0.5118 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.493e-05/0.1651, allocations: 67.53 kB / 0.5118 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.1662, allocations: 446.1 kB / 0.5123 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1662, allocations: 0 / 0.5123 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.1662, allocations: 4.188 kB / 0.5123 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1662, allocations: 4 kB / 0.5123 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005546/0.1668, allocations: 428.9 kB / 0.5127 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1668, allocations: 0 / 0.5127 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.167, allocations: 43.91 kB / 0.5127 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001965/0.1672, allocations: 64.75 kB / 0.5128 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.1672, allocations: 12 kB / 0.5128 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2732/0.4405, allocations: 1.66 MB / 0.5144 GB, free: 26.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.4405, allocations: 6.516 kB / 0.5144 GB, free: 26.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.4419, allocations: 0.5957 MB / 0.515 GB, free: 25.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.4421, allocations: 81.36 kB / 0.5151 GB, free: 25.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/0.4422, allocations: 7.531 kB / 0.5151 GB, free: 25.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.4424, allocations: 26.02 kB / 0.5151 GB, free: 25.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.537e-05/0.4425, allocations: 37.75 kB / 0.5152 GB, free: 25.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.4425, allocations: 10.25 kB / 0.5152 GB, free: 25.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007386/0.4433, allocations: 0.6659 MB / 0.5158 GB, free: 25.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4433, allocations: 0 / 0.5158 GB, free: 25.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005394/0.4438, allocations: 143.4 kB / 0.516 GB, free: 25.85 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.002504/0.4463, allocations: 0.6512 MB / 0.5166 GB, free: 25.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.4474, allocations: 0.5281 MB / 0.5171 GB, free: 25.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4474, allocations: 4.5 kB / 0.5171 GB, free: 25.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004605/0.4478, allocations: 271.9 kB / 0.5174 GB, free: 25.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.4483, allocations: 94.62 kB / 0.5175 GB, free: 25.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.4505, allocations: 1.463 MB / 0.5189 GB, free: 24.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.4508, allocations: 359.5 kB / 0.5192 GB, free: 24.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.4509, allocations: 42.8 kB / 0.5193 GB, free: 24.66 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4509, allocations: 0 / 0.5193 GB, free: 24.66 MB / 382.1 MB Notification: Performance of Templates: time 0.02063/0.4716, allocations: 11.67 MB / 0.5307 GB, free: 21.6 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 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.731636033859104] Failed to read output from testmodel.py, exit status != 0: 0.47964291693642735 0.49185647899999996 0.344097385 Calling exit ...