Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.09805/0.09805, allocations: 8.941 MB / 24.21 MB, free: 4.246 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 101.4 kB / 27.07 MB, free: 2.34 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.00187/0.00187, allocations: 182.8 kB / 30.03 MB, free: 5.934 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 223.2 MB / 256.1 MB, free: 4.402 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01304/0.01304, allocations: 3.13 MB / 312.4 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004473, allocations: 15.08 kB / 380.5 MB, free: 52.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1055, allocations: 53.27 MB / 433.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.002986/0.1085, allocations: 2.83 MB / 436.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002985/0.1115, allocations: 2.075 MB / 438.7 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.1118, allocations: 7.938 kB / 438.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003948/0.1122, allocations: 67.55 kB / 438.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.1126, allocations: 131.2 kB / 438.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006863/0.1133, allocations: 364 kB / 439.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.1137, allocations: 0.5841 MB / 439.8 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.1139, allocations: 132.8 kB / 440 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.1141, allocations: 223 kB / 440.2 MB, free: 8.109 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.1144, allocations: 222.9 kB / 440.4 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.1145, allocations: 20 kB / 440.4 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.1147, allocations: 131.9 kB / 440.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.378e-05/0.1148, allocations: 91.59 kB / 440.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.115, allocations: 232.5 kB / 440.9 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004704/0.1154, allocations: 0.6036 MB / 441.5 MB, free: 6.812 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1154, allocations: 0 / 441.5 MB, free: 6.812 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1155, allocations: 0 / 441.5 MB, free: 6.812 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1155, allocations: 0 / 441.5 MB, free: 6.812 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.001236/0.1167, allocations: 0.734 MB / 442.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1167, allocations: 12.03 kB / 442.2 MB, free: 6.016 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.1169, allocations: 52.36 kB / 442.3 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.1173, allocations: 380 kB / 442.6 MB, free: 5.559 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.029e-05/0.1174, allocations: 55.27 kB / 442.7 MB, free: 5.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.944e-05/0.1175, allocations: 43.88 kB / 442.7 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007555/0.1182, allocations: 477.5 kB / 443.2 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.1183, allocations: 3.938 kB / 443.2 MB, free: 4.957 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/0.1183, allocations: 16 kB / 443.2 MB, free: 4.941 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.1183, allocations: 15.98 kB / 443.2 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000706/0.119, allocations: 355.8 kB / 443.6 MB, free: 4.582 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.1209, allocations: 1.378 MB / 444.9 MB, free: 3.121 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009942/0.122, allocations: 430.7 kB / 445.4 MB, free: 2.691 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/0.1223, allocations: 168.8 kB / 445.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.311e-05/0.1223, allocations: 7.984 kB / 445.5 MB, free: 2.516 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004943/0.1228, allocations: 251.7 kB / 445.8 MB, free: 2.258 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.595e-06/0.1229, allocations: 0 / 445.8 MB, free: 2.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004022/0.1269, allocations: 1.882 MB / 447.7 MB, free: 264 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.1269, allocations: 166.2 kB / 447.8 MB, free: 60 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.1274, allocations: 324.6 kB / 448.1 MB, free: 15.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/0.1274, allocations: 37.7 kB / 448.2 MB, free: 15.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.1276, allocations: 212.5 kB / 448.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.1278, allocations: 134 kB / 448.5 MB, free: 15.35 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-05/0.1278, allocations: 45.69 kB / 448.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.128, allocations: 346.8 kB / 448.9 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.1284, allocations: 172.8 kB / 449.1 MB, free: 14.78 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.129, allocations: 275.4 kB / 449.3 MB, free: 14.47 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008223/0.1298, allocations: 383.7 kB / 449.7 MB, free: 14.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1298, allocations: 4 kB / 449.7 MB, free: 14.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001415/0.1312, allocations: 0.568 MB / 450.3 MB, free: 13.49 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001284/0.1314, allocations: 144.4 kB / 450.4 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1314, allocations: 0 / 450.4 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004871/0.1319, allocations: 164.7 kB / 450.6 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.1322, allocations: 87.83 kB / 450.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008174/0.1331, allocations: 0.7124 MB / 451.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.1335, allocations: 72 kB / 451.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/0.1336, allocations: 19.98 kB / 451.5 MB, free: 12.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.156e-06/0.1336, allocations: 4 kB / 451.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001091/0.1347, allocations: 448.2 kB / 451.9 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1347, allocations: 128 / 451.9 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004767/0.1352, allocations: 160.7 kB / 452.1 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.1354, allocations: 79.84 kB / 452.2 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007404/0.1362, allocations: 0.7007 MB / 452.9 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.1366, allocations: 63.95 kB / 452.9 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.1366, allocations: 23.92 kB / 452.9 MB, free: 10.75 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.0003055/0.1369, allocations: 245.1 kB / 453.2 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.137, allocations: 39.47 kB / 453.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.1372, allocations: 56 kB / 453.3 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.1372, allocations: 7.984 kB / 453.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1372, allocations: 7.938 kB / 453.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.1372, allocations: 0 / 453.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.1397, allocations: 1.196 MB / 454.5 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1397, allocations: 0 / 454.5 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003224/0.14, allocations: 79.98 kB / 454.6 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003837/0.1404, allocations: 140.8 kB / 454.7 MB, free: 8.898 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.1404, allocations: 11.98 kB / 454.7 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007136/0.1412, allocations: 0.6848 MB / 455.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1412, allocations: 4.031 kB / 455.4 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.1431, allocations: 0.8303 MB / 456.2 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.1433, allocations: 156.6 kB / 456.4 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.158e-05/0.1434, allocations: 15.94 kB / 456.4 MB, free: 7.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.1438, allocations: 76 kB / 456.5 MB, free: 7.051 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.144, allocations: 59.84 kB / 456.5 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.144, allocations: 19.98 kB / 456.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002901/0.1443, allocations: 235 kB / 456.8 MB, free: 6.746 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1443, allocations: 0 / 456.8 MB, free: 6.746 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007149/0.145, allocations: 172 kB / 457 MB, free: 6.578 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.001723/0.1468, allocations: 475.8 kB / 457.4 MB, free: 6.281 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.1485, allocations: 0.657 MB / 458.1 MB, free: 5.625 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1486, allocations: 0 / 458.1 MB, free: 5.625 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006593/0.1492, allocations: 244 kB / 458.3 MB, free: 5.387 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007276/0.15, allocations: 90.33 kB / 458.4 MB, free: 5.301 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.1525, allocations: 1.239 MB / 459.6 MB, free: 4.027 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.153, allocations: 0.8199 MB / 460.5 MB, free: 3.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000278/0.1533, allocations: 63.22 kB / 460.5 MB, free: 3.113 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.1534, allocations: 31.44 kB / 460.5 MB, free: 3.082 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1534, allocations: 0 / 460.5 MB, free: 3.082 MB / 318.1 MB Notification: Performance of Templates: time 0.0168/0.1703, allocations: 8.835 MB / 469.4 MB, free: 10.29 MB / 334.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.FirstEV.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.FirstEV.sim & ./EHPTexamples_latest_EHPTexamples.EV.FirstEV -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe 2>&1)