Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples_EV_EVdata",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.EV.EVdata,fileNamePrefix="EHPTexamples_latest_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.04949/0.04949, allocations: 8.036 MB / 23.31 MB, free: 0.5508 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.0006785/0.0006785, allocations: 95.27 kB / 25.88 MB, free: 3.617 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.000758/0.000758, allocations: 191.5 kB / 28.56 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.206/1.206, 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.01234/0.01234, allocations: 3.108 MB / 310.4 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003952, allocations: 11.62 kB / 375.5 MB, free: 53.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06946/0.06987, allocations: 52.98 MB / 428.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.002675/0.07257, allocations: 2.915 MB / 431.4 MB, free: 16.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.07502, allocations: 2.21 MB / 433.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002514/0.0753, allocations: 7.938 kB / 433.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000395/0.0757, allocations: 121.8 kB / 433.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.07603, allocations: 123.2 kB / 433.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006574/0.0767, allocations: 358 kB / 434.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003792/0.07708, allocations: 0.6191 MB / 434.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.07727, allocations: 137.5 kB / 435 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.07746, allocations: 231 kB / 435.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.07771, allocations: 234.8 kB / 435.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.07777, allocations: 20 kB / 435.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.07795, allocations: 127.9 kB / 435.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.835e-05/0.07804, allocations: 95.53 kB / 435.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.07818, allocations: 248.5 kB / 435.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.07858, allocations: 0.6189 MB / 436.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.0786, allocations: 3.938 kB / 436.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.0786, allocations: 0 / 436.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.07861, allocations: 0 / 436.6 MB, free: 11.71 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.001056/0.07967, allocations: 0.7727 MB / 437.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.07971, allocations: 8.031 kB / 437.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.681e-05/0.07978, allocations: 70.72 kB / 437.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.07992, allocations: 56.28 kB / 437.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.08028, allocations: 388.7 kB / 437.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.141e-05/0.08034, allocations: 59.02 kB / 437.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.707e-05/0.08041, allocations: 36 kB / 437.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006975/0.08111, allocations: 473.5 kB / 438.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.08114, allocations: 11.98 kB / 438.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.08118, allocations: 19.92 kB / 438.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.0812, allocations: 12 kB / 438.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006803/0.08188, allocations: 351.7 kB / 438.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.08359, allocations: 1.386 MB / 440.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009285/0.08453, allocations: 431.3 kB / 440.6 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.08486, allocations: 168.8 kB / 440.7 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.0849, allocations: 8.469 kB / 440.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004368/0.08534, allocations: 255.6 kB / 441 MB, free: 7.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.784e-06/0.08536, allocations: 4 kB / 441 MB, free: 7.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003721/0.08908, allocations: 1.887 MB / 442.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.08913, allocations: 158.2 kB / 443.1 MB, free: 4.824 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.08943, allocations: 365.6 kB / 443.4 MB, free: 4.461 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.08948, allocations: 37.7 kB / 443.4 MB, free: 4.418 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/0.08957, allocations: 224.5 kB / 443.7 MB, free: 4.195 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/0.08965, allocations: 138.1 kB / 443.8 MB, free: 4.059 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.08971, allocations: 41.7 kB / 443.8 MB, free: 4.012 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.422e-05/0.08977, allocations: 350.8 kB / 444.2 MB, free: 3.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.09012, allocations: 172.8 kB / 444.4 MB, free: 3.492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.09051, allocations: 279.4 kB / 444.6 MB, free: 3.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006392/0.09116, allocations: 383.7 kB / 445 MB, free: 2.777 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.09117, allocations: 0 / 445 MB, free: 2.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00113/0.09231, allocations: 0.5796 MB / 445.6 MB, free: 2.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.09236, allocations: 144.4 kB / 445.7 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.09237, allocations: 0 / 445.7 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003673/0.09274, allocations: 168.4 kB / 445.9 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.09302, allocations: 87.89 kB / 446 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004703/0.0935, allocations: 0.7162 MB / 446.7 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.0939, allocations: 76 kB / 446.8 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.09394, allocations: 19.98 kB / 446.8 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.781e-06/0.09396, allocations: 6.188 kB / 446.8 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007955/0.09476, allocations: 436.2 kB / 447.2 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.09477, allocations: 4 kB / 447.2 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003166/0.09509, allocations: 161 kB / 447.4 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.0953, allocations: 71.84 kB / 447.4 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005566/0.09586, allocations: 0.7123 MB / 448.2 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.09622, allocations: 60.02 kB / 448.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.09626, allocations: 20.11 kB / 448.2 MB, free: 15.45 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.0002153/0.09648, allocations: 249.9 kB / 448.5 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/0.09655, allocations: 43.44 kB / 448.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.09667, allocations: 52.23 kB / 448.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.09668, allocations: 7.938 kB / 448.6 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.09669, allocations: 4 kB / 448.6 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.0967, allocations: 4 kB / 448.6 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.09869, allocations: 1.204 MB / 449.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.0987, allocations: 0 / 449.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.09899, allocations: 72.05 kB / 449.9 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003476/0.09935, allocations: 152.7 kB / 450 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.09939, allocations: 15.98 kB / 450 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005485/0.09995, allocations: 0.6733 MB / 450.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.09996, allocations: 0 / 450.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.1016, allocations: 0.8378 MB / 451.5 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.1018, allocations: 160.6 kB / 451.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.588e-05/0.1019, allocations: 19.94 kB / 451.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/0.1023, allocations: 75.98 kB / 451.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.1024, allocations: 55.91 kB / 451.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.1025, allocations: 15.98 kB / 451.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002509/0.1027, allocations: 259.2 kB / 452.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1027, allocations: 0 / 452.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005768/0.1033, allocations: 180 kB / 452.3 MB, free: 11.23 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.002818/0.1061, allocations: 1.747 MB / 454 MB, free: 9.617 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.1076, allocations: 0.6567 MB / 454.7 MB, free: 8.961 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1076, allocations: 64 / 454.7 MB, free: 8.961 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005712/0.1082, allocations: 239.7 kB / 454.9 MB, free: 8.727 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006252/0.1089, allocations: 101.5 kB / 455 MB, free: 8.629 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006813/0.1157, allocations: 4.649 MB / 459.7 MB, free: 3.824 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.116, allocations: 0.8234 MB / 460.5 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002366/0.1163, allocations: 71.25 kB / 460.6 MB, free: 2.902 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.1165, allocations: 147.4 kB / 460.7 MB, free: 2.758 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1165, allocations: 0 / 460.7 MB, free: 2.758 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.1424, allocations: 12.68 MB / 473.4 MB, free: 6.242 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.1426, allocations: 257.2 kB / 473.6 MB, free: 5.977 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/2.131, allocations: 0 / 473.6 MB, free: 5.977 MB / 334.1 MB (rm -f EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.EVdata.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_latest_EHPTexamples_EV_EVdata_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=0.0001 EHPTexamples_latest_EHPTexamples_EV_EVdata.fmu > EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe 2>&1)