Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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.06242/0.06242, allocations: 8.541 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.001261/0.001261, allocations: 110.6 kB / 32.3 MB, free: 1.68 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.001445/0.001445, allocations: 195.7 kB / 37.62 MB, free: 3.457 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.422/1.422, allocations: 225.6 MB / 268.4 MB, free: 8.105 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo): time 0.01513/0.01513, allocations: 3.418 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 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) 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_EHPTexamples.SHEV.OO_noMaps") translateModel(EHPTexamples.SHEV.OO_noMaps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.SHEV.OO_noMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002877/0.002877, allocations: 106.5 kB / 456.2 MB, free: 50.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08666/0.08954, allocations: 55.1 MB / 0.4993 GB, free: 7.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.SHEV.OO_noMaps): time 0.01284/0.1024, allocations: 12.62 MB / 0.5116 GB, free: 10.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.1133, allocations: 5.463 MB / 0.5169 GB, free: 5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00237/0.1157, allocations: 63.75 kB / 0.517 GB, free: 4.938 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.1176, allocations: 0.7174 MB / 0.5177 GB, free: 4.215 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002969/0.1205, allocations: 0.978 MB / 0.5187 GB, free: 3.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004847/0.1254, allocations: 2.254 MB / 0.5209 GB, free: 1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005544/0.1309, allocations: 4.142 MB / 0.5249 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002073/0.133, allocations: 1.229 MB / 0.5261 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002489/0.1355, allocations: 1.545 MB / 0.5276 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002263/0.1377, allocations: 1.66 MB / 0.5292 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005982/0.1383, allocations: 436 kB / 0.5297 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.1394, allocations: 0.6209 MB / 0.5303 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009236/0.1403, allocations: 1.005 MB / 0.5312 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.1422, allocations: 1.85 MB / 0.533 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006074/0.1483, allocations: 4.993 MB / 0.5379 GB, free: 15.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1483, allocations: 0 / 0.5379 GB, free: 15.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1483, allocations: 0 / 0.5379 GB, free: 15.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001345/0.1484, allocations: 0 / 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.00835/0.1568, allocations: 4.069 MB / 0.5419 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1568, allocations: 12.03 kB / 0.5419 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007502/0.1575, allocations: 414.4 kB / 0.5423 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003682/0.1612, allocations: 2.18 MB / 0.5444 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003204/0.1616, allocations: 277.8 kB / 0.5447 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003871/0.1619, allocations: 256 kB / 0.5449 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005011/0.1669, allocations: 2.606 MB / 0.5475 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.326e-05/0.167, allocations: 7.953 kB / 0.5475 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002368/0.1672, allocations: 108 kB / 0.5476 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-05/0.1673, allocations: 60 kB / 0.5477 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004438/0.1717, allocations: 1.915 MB / 0.5495 GB, free: 3.168 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.01525/0.187, allocations: 9.458 MB / 0.5588 GB, free: 9.449 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004531/0.1915, allocations: 2.299 MB / 0.561 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.1932, allocations: 0.7588 MB / 0.5617 GB, free: 6.262 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.1933, allocations: 41.2 kB / 0.5618 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001965/0.1953, allocations: 0.957 MB / 0.5627 GB, free: 5.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=157): time 3.517e-06/0.1953, allocations: 0 / 0.5627 GB, free: 5.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=167): time 0.01417/0.2095, allocations: 6.409 MB / 0.569 GB, free: 14.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003823/0.2099, allocations: 0.6639 MB / 0.5696 GB, free: 13.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004318/0.2142, allocations: 2.838 MB / 0.5724 GB, free: 10.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002142/0.2144, allocations: 69.7 kB / 0.5725 GB, free: 10.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001344/0.2157, allocations: 1.39 MB / 0.5738 GB, free: 9.488 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005635/0.2163, allocations: 0.5849 MB / 0.5744 GB, free: 8.898 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000646/0.2169, allocations: 399.5 kB / 0.5748 GB, free: 8.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2171, allocations: 305.1 kB / 0.5751 GB, free: 8.199 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.2187, allocations: 0.735 MB / 0.5758 GB, free: 7.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/0.2208, allocations: 1.235 MB / 0.577 GB, free: 6.027 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008213/0.229, allocations: 3.679 MB / 0.5806 GB, free: 2.129 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.2291, allocations: 4 kB / 0.5806 GB, free: 2.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005433/0.2345, allocations: 2.519 MB / 0.583 GB, free: 15.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.2346, allocations: 134.7 kB / 0.5832 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.2346, allocations: 8 kB / 0.5832 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005994/0.2352, allocations: 209.9 kB / 0.5834 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.2369, allocations: 459.4 kB / 0.5838 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.239, allocations: 2.252 MB / 0.586 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.2409, allocations: 191.9 kB / 0.5862 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/0.2411, 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.002444/0.2436, allocations: 1.25 MB / 0.5875 GB, free: 10.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001679/0.2452, allocations: 1.11 MB / 0.5886 GB, free: 9.508 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006764/0.252, allocations: 3.336 MB / 0.5918 GB, free: 5.949 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.048e-05/0.252, allocations: 4 kB / 0.5918 GB, free: 5.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=261) (initialization_lambda0): time 0.004732/0.2567, allocations: 2.273 MB / 0.5941 GB, free: 3.633 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.61e-05/0.2568, allocations: 130.8 kB / 0.5942 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.2569, allocations: 8 kB / 0.5942 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005428/0.2574, allocations: 217.9 kB / 0.5944 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.2587, allocations: 403.4 kB / 0.5948 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/0.2608, allocations: 2.252 MB / 0.597 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.2626, allocations: 183.9 kB / 0.5972 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.2627, allocations: 79.98 kB / 0.5972 GB, free: 192 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.2016/0.4643, allocations: 460.9 kB / 0.5977 GB, free: 88.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007159/0.465, allocations: 280.5 kB / 0.598 GB, free: 88.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00433/0.4694, allocations: 2.067 MB / 0.6 GB, free: 88.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.391e-05/0.4694, allocations: 13.72 kB / 0.6 GB, free: 88.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.4694, allocations: 0.6562 kB / 0.6 GB, free: 88.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.4705, allocations: 0.5457 MB / 0.6005 GB, free: 88.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/0.4708, allocations: 47.69 kB / 0.6006 GB, free: 88.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/0.4722, allocations: 168.5 kB / 0.6007 GB, free: 88.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002818/0.4725, allocations: 144.5 kB / 0.6009 GB, free: 88.52 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00465/0.4771, allocations: 2.327 MB / 0.6031 GB, free: 87.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005163/0.4823, allocations: 3.056 MB / 0.6061 GB, free: 86.19 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001489/0.4838, allocations: 0.7473 MB / 0.6068 GB, free: 85.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002837/0.4866, allocations: 1.949 MB / 0.6088 GB, free: 85.17 MB / 446.1 MB Notification: Performance of Backend: time 3.2e-07/0.4866, allocations: 0 / 0.6088 GB, free: 85.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01074/0.4973, allocations: 4.169 MB / 0.6128 GB, free: 83.33 MB / 446.1 MB Notification: Performance of SimCode: time 0.008838/0.5062, allocations: 6.192 MB / 0.6189 GB, free: 79.81 MB / 446.1 MB Notification: Performance of Templates: time 0.05895/0.5651, allocations: 44.62 MB / 0.6624 GB, free: 39.29 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f EHPTexamples_EHPTexamples.SHEV.OO_noMaps.makefile [Timeout 660] (rm -f EHPTexamples_EHPTexamples.SHEV.OO_noMaps.pipe ; mkfifo EHPTexamples_EHPTexamples.SHEV.OO_noMaps.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.SHEV.OO_noMaps.pipe >> ../files/EHPTexamples_EHPTexamples.SHEV.OO_noMaps.sim & ./EHPTexamples_EHPTexamples.SHEV.OO_noMaps -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.SHEV.OO_noMaps.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.628198774007615] Failed to read output from testmodel.py, exit status != 0: 0.5720233779866248 0.5811126879999999 0.43040246099999996 Calling exit ...