Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.SHEV.OO_noMaps.conf.json 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.05489/0.05489, allocations: 8.542 MB / 27.11 MB, free: 3.496 MB / 19.63 MB " [Timeout remaining time 180] 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.001206/0.001206, allocations: 102.5 kB / 32.3 MB, free: 1.742 MB / 19.63 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.0014/0.0014, allocations: 196.5 kB / 37.62 MB, free: 3.449 MB / 26.18 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.443/1.443, allocations: 225.6 MB / 268.4 MB, free: 8.098 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01449/0.01449, allocations: 3.421 MB / 329 MB, free: 14.54 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Running command: translateModel(EHPTexamples.SHEV.OO_noMaps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.SHEV.OO_noMaps") translateModel(EHPTexamples.SHEV.OO_noMaps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.SHEV.OO_noMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002837/0.002837, allocations: 99.12 kB / 456.2 MB, free: 50.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07684/0.07968, allocations: 55.11 MB / 0.4993 GB, free: 7.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.SHEV.OO_noMaps): time 0.01442/0.09411, allocations: 12.62 MB / 0.5116 GB, free: 10.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.1057, allocations: 5.467 MB / 0.5169 GB, free: 5.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002396/0.1081, allocations: 59.81 kB / 0.517 GB, free: 4.949 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.1102, allocations: 0.7251 MB / 0.5177 GB, free: 4.219 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003282/0.1135, allocations: 0.9702 MB / 0.5187 GB, free: 3.242 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004999/0.1185, allocations: 2.256 MB / 0.5209 GB, free: 1.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006299/0.1248, allocations: 4.138 MB / 0.5249 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002423/0.1272, allocations: 1.233 MB / 0.5261 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.1295, allocations: 1.541 MB / 0.5276 GB, free: 10 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/0.1319, allocations: 1.664 MB / 0.5292 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000677/0.1326, allocations: 436 kB / 0.5297 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.1337, allocations: 0.6248 MB / 0.5303 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009729/0.1347, allocations: 1.001 MB / 0.5312 GB, free: 6.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00211/0.1368, allocations: 1.846 MB / 0.533 GB, free: 4.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006657/0.1435, allocations: 5.001 MB / 0.5379 GB, free: 15.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1435, allocations: 0 / 0.5379 GB, free: 15.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1435, allocations: 0 / 0.5379 GB, free: 15.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001506/0.1436, allocations: 4 kB / 0.5379 GB, free: 15.39 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 602 * Number of variables: 602 Notification: Performance of Generate backend data structure: time 0.008912/0.1525, allocations: 4.065 MB / 0.5419 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1526, allocations: 8.031 kB / 0.5419 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008182/0.1534, allocations: 414.4 kB / 0.5423 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004211/0.1576, allocations: 2.176 MB / 0.5444 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003526/0.158, allocations: 277.8 kB / 0.5447 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004423/0.1584, allocations: 256 kB / 0.5449 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005379/0.1638, allocations: 2.606 MB / 0.5475 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.699e-05/0.1638, allocations: 15.95 kB / 0.5475 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000241/0.1641, allocations: 100 kB / 0.5476 GB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.982e-05/0.1641, allocations: 60 kB / 0.5476 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004557/0.1687, allocations: 1.915 MB / 0.5495 GB, free: 3.18 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01588/0.1846, allocations: 9.458 MB / 0.5588 GB, free: 9.461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004423/0.189, allocations: 2.303 MB / 0.561 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.1908, allocations: 0.7549 MB / 0.5617 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.1909, allocations: 37.28 kB / 0.5618 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001971/0.1928, allocations: 0.9607 MB / 0.5627 GB, free: 5.246 MB / 414.1 MB Notification: Performance of pre-optimization done (n=157): time 4.478e-06/0.1928, allocations: 0 / 0.5627 GB, free: 5.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=167): time 0.01376/0.2066, allocations: 6.405 MB / 0.569 GB, free: 14.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004189/0.207, allocations: 0.6717 MB / 0.5696 GB, free: 13.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004559/0.2116, allocations: 2.838 MB / 0.5724 GB, free: 10.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.2117, allocations: 69.7 kB / 0.5725 GB, free: 10.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.2131, allocations: 1.383 MB / 0.5738 GB, free: 9.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005358/0.2137, allocations: 0.5888 MB / 0.5744 GB, free: 8.906 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006708/0.2143, allocations: 399.5 kB / 0.5748 GB, free: 8.508 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2145, allocations: 313.1 kB / 0.5751 GB, free: 8.199 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/0.2161, allocations: 0.7272 MB / 0.5758 GB, free: 7.469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002199/0.2183, allocations: 1.243 MB / 0.577 GB, free: 6.027 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008372/0.2267, allocations: 3.679 MB / 0.5806 GB, free: 2.129 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.2267, allocations: 8 kB / 0.5806 GB, free: 2.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005241/0.2319, allocations: 2.515 MB / 0.5831 GB, free: 15.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.232, allocations: 130.7 kB / 0.5832 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.2321, allocations: 12 kB / 0.5832 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006044/0.2327, allocations: 213.9 kB / 0.5834 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.2343, allocations: 451.4 kB / 0.5838 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.2366, allocations: 2.256 MB / 0.586 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.2385, allocations: 191.9 kB / 0.5862 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.2386, allocations: 83.98 kB / 0.5863 GB, free: 12.05 MB / 446.1 MB Warning: Assuming fixed start value for the following 6 variables: mass.s:VARIABLE(start = 0.0 unit = \"m\" fixed = true ) \"Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)\" type: Real genset.iceT.wSensor.flange.phi:VARIABLE(flow=false unit = \"rad\" fixed = true ) \"Absolute rotation angle of flange\" type: Real mass.v:VARIABLE(start = 0.0 unit = \"m/s\" fixed = true ) \"Absolute velocity of component\" type: Real battery.C1.v:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) \"Voltage drop of the two pins (= p.v - n.v)\" type: Real battery.cDummy.v:VARIABLE(start = battery.EBatteryMin + battery.SOCInit * (battery.EBatteryMax - battery.EBatteryMin) unit = \"V\" fixed = true ) \"Voltage drop of the two pins (= p.v - n.v)\" type: Real ems.powFilt.y:VARIABLE(flow=false start = ems.powFilt.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002518/0.2412, allocations: 1.239 MB / 0.5875 GB, free: 10.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00175/0.2429, allocations: 1.114 MB / 0.5886 GB, free: 9.512 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007083/0.25, allocations: 3.328 MB / 0.5918 GB, free: 5.961 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.939e-06/0.25, allocations: 4 kB / 0.5918 GB, free: 5.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=261) (initialization_lambda0): time 0.004568/0.2546, allocations: 2.273 MB / 0.5941 GB, free: 3.645 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.2547, allocations: 130.8 kB / 0.5942 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.2547, allocations: 8 kB / 0.5942 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/0.2552, allocations: 213.9 kB / 0.5944 GB, free: 3.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.2567, allocations: 403.4 kB / 0.5948 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.2589, allocations: 2.26 MB / 0.597 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.261, allocations: 183.9 kB / 0.5972 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.2611, allocations: 83.98 kB / 0.5972 GB, free: 196 kB / 446.1 MB Warning: Assuming fixed start value for the following 6 variables: mass.s:VARIABLE(start = 0.0 unit = \"m\" fixed = true ) \"Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)\" type: Real genset.iceT.wSensor.flange.phi:VARIABLE(flow=false unit = \"rad\" fixed = true ) \"Absolute rotation angle of flange\" type: Real mass.v:VARIABLE(start = 0.0 unit = \"m/s\" fixed = true ) \"Absolute velocity of component\" type: Real battery.C1.v:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) \"Voltage drop of the two pins (= p.v - n.v)\" type: Real battery.cDummy.v:VARIABLE(start = battery.EBatteryMin + battery.SOCInit * (battery.EBatteryMax - battery.EBatteryMin) unit = \"V\" fixed = true ) \"Voltage drop of the two pins (= p.v - n.v)\" type: Real ems.powFilt.y:VARIABLE(flow=false start = ems.powFilt.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 24 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,dragForce.free,$PRE.ems.powHyst.y,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,genset.gen.limTau.state,genset.gen.limitingTorque,ems.powHyst.y,drive.limTau.state,drive.limitingTorque,dragForce.mode,$PRE.dragForce.mode,dragForce.locked,dragForce.startBackward,$PRE.dragForce.startBackward,dragForce.startForward,$PRE.dragForce.startForward,genset.toFuelGrams.local_reset,genset.iceT.tokgFuel.local_reset,genset.gen.pDC.integrator1.local_reset,drive.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (244): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.1976/0.4588, allocations: 464.7 kB / 0.5977 GB, free: 88.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006319/0.4594, allocations: 280.6 kB / 0.598 GB, free: 88.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004152/0.4636, allocations: 2.061 MB / 0.6 GB, free: 88.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.4636, allocations: 15.03 kB / 0.6 GB, free: 88.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4636, allocations: 0 / 0.6 GB, free: 88.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009514/0.4645, allocations: 0.5475 MB / 0.6005 GB, free: 88.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002849/0.4648, allocations: 47.09 kB / 0.6006 GB, free: 88.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.4662, allocations: 172.8 kB / 0.6007 GB, free: 88.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/0.4664, allocations: 145 kB / 0.6009 GB, free: 88.48 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0043/0.4707, allocations: 2.327 MB / 0.6031 GB, free: 87.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004617/0.4753, allocations: 3.056 MB / 0.6061 GB, free: 86.14 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001341/0.4767, allocations: 0.747 MB / 0.6068 GB, free: 85.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002442/0.4791, allocations: 1.949 MB / 0.6088 GB, free: 85.12 MB / 446.1 MB Notification: Performance of Backend: time 2.5e-07/0.4791, allocations: 0 / 0.6088 GB, free: 85.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009547/0.4887, allocations: 4.161 MB / 0.6128 GB, free: 83.29 MB / 446.1 MB Notification: Performance of SimCode: time 0.007198/0.4959, allocations: 6.21 MB / 0.6189 GB, free: 79.77 MB / 446.1 MB Notification: Performance of Templates: time 0.05335/0.5492, allocations: 44.6 MB / 0.6624 GB, free: 39.3 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f EHPTexamples_latest_EHPTexamples.SHEV.OO_noMaps.makefile [Timeout 660] (rm -f EHPTexamples_latest_EHPTexamples.SHEV.OO_noMaps.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.SHEV.OO_noMaps.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.SHEV.OO_noMaps.pipe >> ../files/EHPTexamples_latest_EHPTexamples.SHEV.OO_noMaps.sim & ./EHPTexamples_latest_EHPTexamples.SHEV.OO_noMaps -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.SHEV.OO_noMaps.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.559117289027199] Failed to read output from testmodel.py, exit status != 0: 0.5559237480047159 0.5646914479999999 0.418996614 Calling exit ...