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: "" <> buildModelFMU(EHPTexamples.EV.FirstEV,fileNamePrefix="EHPTexamples_latest_EHPTexamples_EV_FirstEV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.EV.FirstEV,fileNamePrefix="EHPTexamples_latest_EHPTexamples_EV_FirstEV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05041/0.05041, allocations: 8.035 MB / 23.3 MB, free: 80 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.000648/0.0006481, allocations: 93.86 kB / 25.88 MB, free: 3.359 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.0008534/0.0008534, allocations: 191.6 kB / 28.56 MB, free: 0.7227 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.195/1.195, allocations: 223.2 MB / 254.4 MB, free: 5.605 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01142/0.01142, allocations: 3.114 MB / 310.4 MB, free: 0.7578 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.000384, allocations: 9.938 kB / 378.3 MB, free: 53.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06852/0.06892, allocations: 52.98 MB / 431.3 MB, free: 17.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.002391/0.07135, allocations: 2.82 MB / 434.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.07334, allocations: 2.074 MB / 436.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.07349, allocations: 7.938 kB / 436.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.07376, allocations: 75.53 kB / 436.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.07401, allocations: 119.3 kB / 436.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005241/0.07455, allocations: 367.1 kB / 436.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.07492, allocations: 0.5841 MB / 437.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.07512, allocations: 132.8 kB / 437.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.07531, allocations: 223 kB / 437.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.07556, allocations: 222.9 kB / 437.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/0.07561, allocations: 23.98 kB / 437.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.07579, allocations: 131.9 kB / 438 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.288e-05/0.07587, allocations: 83.66 kB / 438.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.07601, allocations: 232.5 kB / 438.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.0764, allocations: 0.6075 MB / 438.9 MB, free: 9.496 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.07641, allocations: 0 / 438.9 MB, free: 9.496 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.07642, allocations: 4 kB / 438.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.07643, allocations: 0 / 438.9 MB, free: 9.492 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.001013/0.07745, allocations: 0.7417 MB / 439.7 MB, free: 8.699 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.07749, allocations: 16.03 kB / 439.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.655e-05/0.07756, allocations: 70.72 kB / 439.8 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.07768, allocations: 52.31 kB / 439.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.07802, allocations: 372.1 kB / 440.2 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.955e-05/0.07808, allocations: 63 kB / 440.2 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.07814, allocations: 36 kB / 440.3 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006716/0.07882, allocations: 477.5 kB / 440.7 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.07884, allocations: 0 / 440.7 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.07889, allocations: 16 kB / 440.7 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.0789, allocations: 8 kB / 440.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006597/0.07957, allocations: 359.8 kB / 441.1 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.08119, allocations: 1.382 MB / 442.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000883/0.08208, allocations: 433.3 kB / 442.9 MB, free: 5.293 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.08239, allocations: 160.8 kB / 443.1 MB, free: 5.133 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.08243, allocations: 8.469 kB / 443.1 MB, free: 5.125 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004183/0.08286, allocations: 251.7 kB / 443.3 MB, free: 4.867 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.295e-06/0.08287, allocations: 3.938 kB / 443.3 MB, free: 4.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003518/0.08639, allocations: 1.891 MB / 445.2 MB, free: 2.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.08644, allocations: 158.2 kB / 445.4 MB, free: 2.664 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.0867, allocations: 324.5 kB / 445.7 MB, free: 2.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.08674, allocations: 37.7 kB / 445.7 MB, free: 2.297 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.08683, allocations: 208.5 kB / 445.9 MB, free: 2.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/0.0869, allocations: 138.1 kB / 446.1 MB, free: 1.953 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.08696, allocations: 45.7 kB / 446.1 MB, free: 1.902 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.841e-05/0.08701, allocations: 350.8 kB / 446.4 MB, free: 1.551 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003294/0.08735, allocations: 164.8 kB / 446.6 MB, free: 1.391 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.08773, allocations: 287.4 kB / 446.9 MB, free: 1.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005974/0.08834, allocations: 379.7 kB / 447.3 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.08835, allocations: 4 kB / 447.3 MB, free: 0.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001047/0.0894, allocations: 0.568 MB / 447.8 MB, free: 92 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.852e-05/0.08948, allocations: 148.3 kB / 448 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.08949, allocations: 4 kB / 448 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003941/0.08989, allocations: 156.8 kB / 448.1 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.09019, allocations: 87.89 kB / 448.2 MB, free: 15.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005969/0.09079, allocations: 0.7157 MB / 448.9 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003883/0.09119, allocations: 79.98 kB / 449 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.09124, allocations: 16 kB / 449 MB, free: 14.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.781e-06/0.09125, allocations: 4 kB / 449 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008895/0.09215, allocations: 440.2 kB / 449.5 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.09216, allocations: 0 / 449.5 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003486/0.09252, allocations: 164.9 kB / 449.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.09273, allocations: 67.84 kB / 449.7 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000563/0.0933, allocations: 0.7162 MB / 450.4 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.09364, allocations: 59.89 kB / 450.5 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.09367, allocations: 12.11 kB / 450.5 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.0002103/0.09389, allocations: 257.8 kB / 450.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.09395, allocations: 39.53 kB / 450.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.09407, allocations: 52.06 kB / 450.8 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.09408, allocations: 7.938 kB / 450.8 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.09409, allocations: 128 / 450.8 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.0941, allocations: 7.984 kB / 450.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.09605, allocations: 1.189 MB / 452 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.09606, allocations: 0 / 452 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.09635, allocations: 75.95 kB / 452.1 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003306/0.09669, allocations: 136.8 kB / 452.2 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.09673, allocations: 19.98 kB / 452.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005455/0.09728, allocations: 0.685 MB / 452.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.0973, allocations: 4.031 kB / 452.9 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.09891, allocations: 0.83 MB / 453.8 MB, free: 9.922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.09908, allocations: 156.6 kB / 453.9 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.908e-05/0.09915, allocations: 19.94 kB / 453.9 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.09956, allocations: 71.98 kB / 454 MB, free: 9.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.09968, allocations: 55.91 kB / 454.1 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.09972, allocations: 19.98 kB / 454.1 MB, free: 9.586 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002283/0.09995, allocations: 231.1 kB / 454.3 MB, free: 9.363 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09996, allocations: 0 / 454.3 MB, free: 9.363 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005553/0.1005, allocations: 180 kB / 454.5 MB, free: 9.188 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.002782/0.1033, allocations: 1.74 MB / 456.2 MB, free: 7.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.1048, allocations: 0.6601 MB / 456.9 MB, free: 6.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1048, allocations: 0 / 456.9 MB, free: 6.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005454/0.1053, allocations: 244.4 kB / 457.1 MB, free: 6.691 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005723/0.1059, allocations: 86.48 kB / 457.2 MB, free: 6.613 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006346/0.1123, allocations: 4.423 MB / 461.6 MB, free: 2.023 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.1126, allocations: 0.8156 MB / 462.4 MB, free: 1.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002091/0.1128, allocations: 63.19 kB / 462.5 MB, free: 1.113 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.113, allocations: 135.4 kB / 462.6 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.113, allocations: 0 / 462.6 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.1375, allocations: 12.21 MB / 474.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.1377, allocations: 255 kB / 475.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.102, allocations: 4 kB / 475.1 MB, free: 4.676 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_latest_EHPTexamples_EV_FirstEV_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=0.0001 EHPTexamples_latest_EHPTexamples_EV_FirstEV.fmu > EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe 2>&1)