Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_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_EHPTexamples_EV_FirstEV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.EV.FirstEV,fileNamePrefix="EHPTexamples_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.04628/0.04628, allocations: 8.04 MB / 23.31 MB, free: 68 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.0007727/0.0007727, allocations: 86.92 kB / 25.88 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.0009713/0.0009713, allocations: 192.8 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.268/1.268, allocations: 223.3 MB / 254.4 MB, free: 3.895 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0119/0.0119, allocations: 3.105 MB / 310.4 MB, free: 0.5586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004197, allocations: 17.95 kB / 378.3 MB, free: 53.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09604, allocations: 52.98 MB / 431.3 MB, free: 17.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003309/0.0994, allocations: 2.82 MB / 434.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.1026, allocations: 2.063 MB / 436.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004088/0.1031, allocations: 11.94 kB / 436.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004569/0.1036, allocations: 75.53 kB / 436.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005722/0.1042, allocations: 123.2 kB / 436.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009109/0.1051, allocations: 362.3 kB / 436.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000638/0.1057, allocations: 0.5802 MB / 437.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/0.106, allocations: 140.8 kB / 437.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.1064, allocations: 223 kB / 437.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004108/0.1068, allocations: 223 kB / 437.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.461e-05/0.1069, allocations: 20 kB / 437.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.1072, allocations: 123.9 kB / 438 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1073, allocations: 91.64 kB / 438.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.1075, allocations: 240.4 kB / 438.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005819/0.1081, allocations: 0.5998 MB / 438.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1081, allocations: 7.938 kB / 438.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1081, allocations: 3.984 kB / 438.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.009e-05/0.1082, allocations: 0 / 438.9 MB, free: 9.309 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.001369/0.1095, allocations: 0.7417 MB / 439.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1096, allocations: 8.031 kB / 439.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.1097, allocations: 74.72 kB / 439.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.1099, allocations: 56.36 kB / 439.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/0.1104, allocations: 368.1 kB / 440.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.1e-05/0.1105, allocations: 59.02 kB / 440.2 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-05/0.1106, allocations: 36 kB / 440.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008331/0.1114, allocations: 477.4 kB / 440.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.1115, allocations: 4 kB / 440.7 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.667e-05/0.1115, allocations: 16 kB / 440.8 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.1115, allocations: 12 kB / 440.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000765/0.1123, allocations: 359.7 kB / 441.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.1144, allocations: 1.37 MB / 442.5 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.1154, allocations: 435.3 kB / 442.9 MB, free: 5.117 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.1157, allocations: 160.8 kB / 443.1 MB, free: 4.957 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.421e-05/0.1158, allocations: 8.469 kB / 443.1 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005052/0.1163, allocations: 251.7 kB / 443.3 MB, free: 4.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.194e-06/0.1163, allocations: 0 / 443.3 MB, free: 4.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003916/0.1202, allocations: 1.887 MB / 445.2 MB, free: 2.688 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.1203, allocations: 158.2 kB / 445.4 MB, free: 2.496 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.1206, allocations: 324.5 kB / 445.7 MB, free: 2.172 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.1206, allocations: 37.7 kB / 445.7 MB, free: 2.129 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.1208, allocations: 212.5 kB / 445.9 MB, free: 1.918 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.918e-05/0.1209, allocations: 138 kB / 446.1 MB, free: 1.781 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.1209, allocations: 41.69 kB / 446.1 MB, free: 1.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.465e-05/0.121, allocations: 350.8 kB / 446.4 MB, free: 1.383 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.1214, allocations: 168.8 kB / 446.6 MB, free: 1.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000418/0.1218, allocations: 279.4 kB / 446.9 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007271/0.1225, allocations: 391.7 kB / 447.3 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1225, allocations: 0 / 447.3 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001218/0.1238, allocations: 0.568 MB / 447.8 MB, free: 15.92 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.445e-05/0.1239, allocations: 144.4 kB / 448 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.1239, allocations: 4 kB / 448 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000439/0.1243, allocations: 164.7 kB / 448.1 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.1247, allocations: 83.89 kB / 448.2 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006691/0.1253, allocations: 0.7132 MB / 448.9 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/0.1258, allocations: 72 kB / 449 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/0.1259, allocations: 31.91 kB / 449 MB, free: 14.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.1259, allocations: 4 kB / 449 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009974/0.1269, allocations: 444.2 kB / 449.5 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1269, allocations: 4 kB / 449.5 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/0.1273, allocations: 156.9 kB / 449.6 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.1275, allocations: 63.91 kB / 449.7 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006664/0.1282, allocations: 0.7146 MB / 450.4 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.1286, allocations: 55.98 kB / 450.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.1286, allocations: 28.05 kB / 450.5 MB, free: 13.17 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.0002902/0.1289, allocations: 241.9 kB / 450.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-05/0.129, allocations: 39.53 kB / 450.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.1291, allocations: 48.06 kB / 450.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.1292, allocations: 7.938 kB / 450.8 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.1292, allocations: 4.031 kB / 450.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.1292, allocations: 3.984 kB / 450.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.1315, allocations: 1.2 MB / 452 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.1315, allocations: 4.125 kB / 452 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.1318, allocations: 71.89 kB / 452.1 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003812/0.1322, allocations: 148.8 kB / 452.2 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.1323, allocations: 15.98 kB / 452.3 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00061/0.1329, allocations: 0.6733 MB / 452.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1329, allocations: 0 / 452.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.1348, allocations: 0.8378 MB / 453.8 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.1349, allocations: 152.6 kB / 453.9 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.004e-05/0.135, allocations: 19.94 kB / 453.9 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.1355, allocations: 79.94 kB / 454 MB, free: 9.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.1356, allocations: 47.91 kB / 454.1 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.1357, allocations: 19.98 kB / 454.1 MB, free: 9.414 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002901/0.136, allocations: 243 kB / 454.3 MB, free: 9.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.615e-06/0.136, allocations: 0 / 454.3 MB, free: 9.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006549/0.1366, allocations: 175.9 kB / 454.5 MB, free: 9.008 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.003203/0.1399, allocations: 1.741 MB / 456.2 MB, free: 7.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.1415, allocations: 0.6639 MB / 456.9 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1415, allocations: 0 / 456.9 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005854/0.1421, allocations: 236.6 kB / 457.1 MB, free: 6.516 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.1428, allocations: 88.02 kB / 457.2 MB, free: 6.434 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007446/0.1503, allocations: 4.416 MB / 461.6 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.1507, allocations: 0.8156 MB / 462.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002504/0.151, allocations: 63.23 kB / 462.5 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.1512, allocations: 135.4 kB / 462.6 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1512, allocations: 0 / 462.6 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03697/0.1882, allocations: 12.2 MB / 474.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003193/0.1886, allocations: 241.7 kB / 475.1 MB, free: 4.523 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/2.248, allocations: 0 / 475.1 MB, free: 4.523 MB / 334.1 MB (rm -f EHPTexamples_EHPTexamples.EV.FirstEV.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.FirstEV.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.FirstEV.pipe >> ../files/EHPTexamples_EHPTexamples.EV.FirstEV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_EHPTexamples_EV_FirstEV_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=0.0001 EHPTexamples_EHPTexamples_EV_FirstEV.fmu > EHPTexamples_EHPTexamples.EV.FirstEV.pipe 2>&1)