Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_EHPTexamples.EV.EVdata.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) Running command: "" <> buildModelFMU(EHPTexamples.EV.EVdata,fileNamePrefix="EHPTexamples_EHPTexamples_EV_EVdata",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.EV.EVdata,fileNamePrefix="EHPTexamples_EHPTexamples_EV_EVdata",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.04699/0.04699, allocations: 8.036 MB / 23.31 MB, free: 0.5586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007941/0.0007944, allocations: 84.19 kB / 25.87 MB, free: 3.625 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.0009357/0.0009359, allocations: 192.2 kB / 28.57 MB, free: 0.9414 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.279/1.279, allocations: 223.3 MB / 254.4 MB, free: 3.781 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01156/0.01156, allocations: 3.113 MB / 310.4 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004165, allocations: 11.03 kB / 375.5 MB, free: 53.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1027, allocations: 52.98 MB / 428.5 MB, free: 19.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.002915/0.1057, allocations: 2.915 MB / 431.4 MB, free: 16.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00266/0.1084, allocations: 2.203 MB / 433.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/0.1086, allocations: 11.94 kB / 433.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.1091, allocations: 113.8 kB / 433.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.1094, allocations: 139.2 kB / 433.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.1101, allocations: 356 kB / 434.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000429/0.1105, allocations: 0.6035 MB / 434.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.1107, allocations: 141.5 kB / 435 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.111, allocations: 234.9 kB / 435.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.1113, allocations: 238.8 kB / 435.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.1113, allocations: 20 kB / 435.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.1115, allocations: 127.9 kB / 435.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.86e-05/0.1116, allocations: 95.58 kB / 435.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.1118, allocations: 240.4 kB / 435.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004752/0.1123, allocations: 0.6228 MB / 436.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1123, allocations: 0 / 436.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1123, allocations: 0 / 436.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1123, allocations: 0 / 436.5 MB, free: 11.73 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.001151/0.1134, allocations: 0.765 MB / 437.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1135, allocations: 8.031 kB / 437.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.096e-05/0.1136, allocations: 78.7 kB / 437.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.1137, allocations: 60.22 kB / 437.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.1141, allocations: 388.7 kB / 437.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.643e-05/0.1142, allocations: 63 kB / 437.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.1142, allocations: 36 kB / 437.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007253/0.115, allocations: 477.5 kB / 438.4 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.115, allocations: 4 kB / 438.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/0.115, allocations: 12 kB / 438.4 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1151, allocations: 8 kB / 438.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.1157, allocations: 367.7 kB / 438.8 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.1175, allocations: 1.386 MB / 440.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000906/0.1184, allocations: 427.3 kB / 440.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.1188, allocations: 160.8 kB / 440.7 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.1188, allocations: 12.45 kB / 440.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004659/0.1193, allocations: 263.5 kB / 441 MB, free: 7.035 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.703e-06/0.1193, allocations: 0 / 441 MB, free: 7.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003777/0.1231, allocations: 1.883 MB / 442.9 MB, free: 5.035 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/0.1232, allocations: 162.2 kB / 443 MB, free: 4.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.1235, allocations: 365.6 kB / 443.4 MB, free: 4.477 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.1235, allocations: 37.7 kB / 443.4 MB, free: 4.434 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1237, allocations: 228.8 kB / 443.7 MB, free: 4.207 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.9e-05/0.1237, allocations: 130.2 kB / 443.8 MB, free: 4.078 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.1238, allocations: 37.7 kB / 443.8 MB, free: 4.035 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.545e-05/0.1239, allocations: 346.8 kB / 444.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.1242, allocations: 172.8 kB / 444.3 MB, free: 3.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.1246, allocations: 291.3 kB / 444.6 MB, free: 3.195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006405/0.1253, allocations: 379.7 kB / 445 MB, free: 2.797 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1253, allocations: 4 kB / 445 MB, free: 2.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001074/0.1263, allocations: 0.5757 MB / 445.6 MB, free: 2.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.358e-05/0.1264, allocations: 148.4 kB / 445.7 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.1264, allocations: 3.984 kB / 445.7 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003774/0.1268, allocations: 164.8 kB / 445.9 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.1271, allocations: 83.88 kB / 446 MB, free: 1.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004924/0.1276, allocations: 0.7162 MB / 446.7 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.128, allocations: 80.03 kB / 446.8 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.128, allocations: 12 kB / 446.8 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/0.128, allocations: 6.188 kB / 446.8 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007689/0.1288, allocations: 448.3 kB / 447.2 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.1288, allocations: 0 / 447.2 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003201/0.1291, allocations: 156.9 kB / 447.4 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.1293, allocations: 67.91 kB / 447.4 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005966/0.1299, allocations: 0.7143 MB / 448.1 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.1303, allocations: 56.02 kB / 448.2 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.1303, allocations: 19.94 kB / 448.2 MB, free: 15.47 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.0002799/0.1306, allocations: 253.8 kB / 448.5 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/0.1307, allocations: 43.44 kB / 448.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.1308, allocations: 56.25 kB / 448.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.1308, allocations: 7.938 kB / 448.6 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1308, allocations: 4.125 kB / 448.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.1309, allocations: 3.984 kB / 448.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.133, allocations: 1.204 MB / 449.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.133, allocations: 4.031 kB / 449.8 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.1333, allocations: 71.95 kB / 449.9 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003412/0.1336, allocations: 148.6 kB / 450 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.1337, allocations: 15.98 kB / 450 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005759/0.1343, allocations: 0.6772 MB / 450.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1343, allocations: 0 / 450.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.136, allocations: 0.8417 MB / 451.5 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.1362, allocations: 160.6 kB / 451.7 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.198e-05/0.1363, allocations: 19.94 kB / 451.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.1367, allocations: 72 kB / 451.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.1368, allocations: 51.91 kB / 451.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.1369, allocations: 19.98 kB / 451.9 MB, free: 11.67 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003148/0.1372, allocations: 263.2 kB / 452.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1372, allocations: 0 / 452.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006833/0.1379, allocations: 176 kB / 452.3 MB, free: 11.24 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.002935/0.1409, allocations: 1.743 MB / 454 MB, free: 9.633 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.1423, allocations: 0.6562 MB / 454.7 MB, free: 8.977 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1424, allocations: 0 / 454.7 MB, free: 8.977 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005407/0.1429, allocations: 244.5 kB / 454.9 MB, free: 8.738 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006457/0.1436, allocations: 96.66 kB / 455 MB, free: 8.648 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007062/0.1506, allocations: 4.653 MB / 459.7 MB, free: 3.836 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.151, allocations: 0.8234 MB / 460.5 MB, free: 2.984 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002656/0.1513, allocations: 71.25 kB / 460.6 MB, free: 2.914 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.1515, allocations: 147.4 kB / 460.7 MB, free: 2.77 MB / 318.1 MB Notification: Performance of SimCode: time 1.283e-06/0.1515, allocations: 0 / 460.7 MB, free: 2.77 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05458/0.2061, allocations: 12.68 MB / 473.4 MB, free: 6.25 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.2064, allocations: 236.4 kB / 473.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.223, allocations: 0 / 473.6 MB, free: 5.996 MB / 334.1 MB (rm -f EHPTexamples_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_EHPTexamples.EV.EVdata.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_EHPTexamples_EV_EVdata_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=0.0001 EHPTexamples_EHPTexamples_EV_EVdata.fmu > EHPTexamples_EHPTexamples.EV.EVdata.pipe 2>&1)