Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.EV.FirstEV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) 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 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld Running command: translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05051/0.05051, allocations: 8.031 MB / 23.3 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006676/0.0006679, allocations: 86.8 kB / 25.87 MB, free: 3.352 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009227/0.0009226, allocations: 180.8 kB / 28.56 MB, free: 0.7188 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 223.3 MB / 254.4 MB, free: 3.863 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0116/0.0116, allocations: 3.12 MB / 310.4 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.000364, allocations: 12.66 kB / 378.2 MB, free: 53.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07751/0.07789, allocations: 52.99 MB / 431.2 MB, free: 17.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.00266/0.08059, allocations: 2.818 MB / 434 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.08291, allocations: 2.07 MB / 436.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.08309, allocations: 11.94 kB / 436.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.08339, allocations: 71.55 kB / 436.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.08366, allocations: 131.2 kB / 436.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000571/0.08424, allocations: 360.5 kB / 436.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.08465, allocations: 0.5802 MB / 437.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.08488, allocations: 136.8 kB / 437.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.0851, allocations: 223 kB / 437.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.08536, allocations: 222.9 kB / 437.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.08542, allocations: 24 kB / 437.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.08562, allocations: 123.9 kB / 437.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.805e-05/0.08572, allocations: 95.58 kB / 438 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.08587, allocations: 228.5 kB / 438.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.08628, allocations: 0.6036 MB / 438.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.08629, allocations: 0 / 438.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.0863, allocations: 0 / 438.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.08632, allocations: 0 / 438.8 MB, free: 9.418 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001075/0.08741, allocations: 0.7418 MB / 439.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.08745, allocations: 8.031 kB / 439.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.0876, allocations: 56.36 kB / 439.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.08797, allocations: 380 kB / 440 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.528e-05/0.08804, allocations: 51.27 kB / 440.1 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.723e-05/0.0881, allocations: 43.94 kB / 440.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006918/0.0888, allocations: 481.5 kB / 440.6 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.08883, allocations: 7.938 kB / 440.6 MB, free: 7.551 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.08888, allocations: 12 kB / 440.6 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.08889, allocations: 12 kB / 440.6 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006499/0.08954, allocations: 351.8 kB / 440.9 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.09126, allocations: 1.374 MB / 442.3 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008952/0.09217, allocations: 429.5 kB / 442.7 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.09249, allocations: 168.8 kB / 442.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.09253, allocations: 8.828 kB / 442.9 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004486/0.09298, allocations: 255.7 kB / 443.2 MB, free: 4.867 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.674e-06/0.093, allocations: 0 / 443.2 MB, free: 4.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003779/0.09678, allocations: 1.883 MB / 445 MB, free: 2.867 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.09685, allocations: 162.2 kB / 445.2 MB, free: 2.672 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.09714, allocations: 324.5 kB / 445.5 MB, free: 2.348 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.09719, allocations: 41.7 kB / 445.6 MB, free: 2.301 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/0.09729, allocations: 212.5 kB / 445.8 MB, free: 2.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.501e-05/0.09737, allocations: 134.1 kB / 445.9 MB, free: 1.957 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.09743, allocations: 45.69 kB / 445.9 MB, free: 1.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.018e-05/0.09749, allocations: 346.8 kB / 446.3 MB, free: 1.559 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/0.09783, allocations: 172.8 kB / 446.4 MB, free: 1.391 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.09821, allocations: 271.4 kB / 446.7 MB, free: 1.086 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006297/0.09884, allocations: 383.7 kB / 447.1 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.09886, allocations: 3.984 kB / 447.1 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001078/0.09994, allocations: 0.5758 MB / 447.7 MB, free: 96 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.782e-05/0.1, allocations: 140.4 kB / 447.8 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1001, allocations: 4.047 kB / 447.8 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004345/0.1005, allocations: 172.7 kB / 448 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.1008, allocations: 83.83 kB / 448.1 MB, free: 15.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006319/0.1015, allocations: 0.7101 MB / 448.8 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/0.1019, allocations: 76 kB / 448.8 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.1019, allocations: 23.98 kB / 448.9 MB, free: 14.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.1019, allocations: 4 kB / 448.9 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009039/0.1028, allocations: 436.2 kB / 449.3 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1029, allocations: 4 kB / 449.3 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003578/0.1032, allocations: 161 kB / 449.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.1034, allocations: 67.84 kB / 449.5 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000564/0.104, allocations: 0.7046 MB / 450.2 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.1044, allocations: 63.95 kB / 450.3 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.1044, allocations: 19.98 kB / 450.3 MB, free: 13.36 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,dragF.mode,$PRE.dragF.mode,dragF.locked,dragF.startBackward,$PRE.dragF.startBackward,dragF.startForward,$PRE.dragF.startForward,dragF.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002309/0.1046, allocations: 245.8 kB / 450.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.1047, allocations: 47.47 kB / 450.6 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.1048, allocations: 48.06 kB / 450.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.1049, allocations: 8 kB / 450.7 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1049, allocations: 3.938 kB / 450.7 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.1049, allocations: 3.984 kB / 450.7 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.1069, allocations: 1.189 MB / 451.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1069, allocations: 4 kB / 451.9 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.1072, allocations: 83.92 kB / 451.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003411/0.1076, allocations: 140.8 kB / 452.1 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.1076, allocations: 11.98 kB / 452.1 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005541/0.1082, allocations: 0.6888 MB / 452.8 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1082, allocations: 0 / 452.8 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.1098, allocations: 0.8301 MB / 453.6 MB, free: 9.926 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.11, allocations: 156.6 kB / 453.8 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.1101, allocations: 20 kB / 453.8 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004007/0.1105, allocations: 75.94 kB / 453.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.1106, allocations: 55.84 kB / 453.9 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.1106, allocations: 19.98 kB / 453.9 MB, free: 9.586 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002286/0.1109, allocations: 231 kB / 454.1 MB, free: 9.363 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1109, allocations: 0 / 454.1 MB, free: 9.363 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006066/0.1115, allocations: 172 kB / 454.3 MB, free: 9.195 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dragF.s,dragF.v) * Number of discrete variables: 7 ($whenCondition1,dragF.startForward,dragF.startBackward,dragF.locked,dragF.mode,driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled) * Number of discrete states: 5 (driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,dragF.mode,dragF.startForward,dragF.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/0.1125, allocations: 495 kB / 454.8 MB, free: 8.883 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.114, allocations: 0.649 MB / 455.4 MB, free: 8.234 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.114, allocations: 4 kB / 455.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005836/0.1146, allocations: 240.2 kB / 455.7 MB, free: 7.996 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006127/0.1152, allocations: 99.36 kB / 455.8 MB, free: 7.906 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.1173, allocations: 1.23 MB / 457 MB, free: 6.641 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.1176, allocations: 0.816 MB / 457.8 MB, free: 5.793 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002205/0.1178, allocations: 59.25 kB / 457.9 MB, free: 5.73 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.813e-05/0.1179, allocations: 43.36 kB / 457.9 MB, free: 5.688 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1179, allocations: 0 / 457.9 MB, free: 5.688 MB / 318.1 MB Notification: Performance of Templates: time 0.01354/0.1315, allocations: 8.834 MB / 466.8 MB, free: 12.89 MB / 334.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.FirstEV.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.FirstEV.sim & ./EHPTexamples_main_EHPTexamples.EV.FirstEV -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe 2>&1)