Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/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 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) Running command: "" <> buildModelFMU(VehicleInterfaces.Examples.ConventionalAutomaticVehicle,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Examples_ConventionalAutomaticVehicle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Examples.ConventionalAutomaticVehicle,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Examples_ConventionalAutomaticVehicle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007871/0.007871, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.2 MB / 239 MB, free: 1.785 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008463/0.0008463, allocations: 106.8 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.04078/0.04078, allocations: 7.972 MB / 349.3 MB, free: 3.102 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003102, allocations: 10.91 kB / 412.1 MB, free: 89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0942/0.09452, allocations: 52.22 MB / 464.3 MB, free: 43.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3306/0.4252, allocations: 106.7 MB / 0.5576 GB, free: 16.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.4255, allocations: 91.36 kB / 0.5577 GB, free: 16.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3254/0.7509, allocations: 137.8 MB / 0.6922 GB, free: 5.844 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.7509, allocations: 0 / 0.6922 GB, free: 5.844 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002093/0.7511, allocations: 75.97 kB / 0.6923 GB, free: 5.77 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 632 * Number of variables: 632 Notification: Performance of Generate backend data structure: time 0.004805/0.7559, allocations: 2.618 MB / 0.6948 GB, free: 3.086 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.756, allocations: 8.031 kB / 0.6948 GB, free: 3.078 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004467/0.7564, allocations: 350.1 kB / 0.6952 GB, free: 2.727 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007466/0.7572, allocations: 360 kB / 0.6955 GB, free: 2.371 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002884/0.7601, allocations: 1.725 MB / 0.6972 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.7602, allocations: 184.7 kB / 0.6974 GB, free: 420 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003486/0.7606, allocations: 255.7 kB / 0.6976 GB, free: 164 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2184/0.979, allocations: 2.834 MB / 0.7004 GB, free: 122.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.98e-05/0.9791, allocations: 29.11 kB / 0.7004 GB, free: 122.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002151/0.9793, allocations: 105.9 kB / 0.7005 GB, free: 122.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.9794, allocations: 100.3 kB / 0.7006 GB, free: 122.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003553/0.983, allocations: 1.877 MB / 0.7024 GB, free: 122.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.9961, allocations: 11.14 MB / 0.7133 GB, free: 117.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.9979, allocations: 1.058 MB / 0.7144 GB, free: 117.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.636e-05/0.998, allocations: 16.42 kB / 0.7144 GB, free: 117.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.998, allocations: 49.91 kB / 0.7144 GB, free: 117.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=116): time 3.877e-06/0.998, allocations: 3.969 kB / 0.7144 GB, free: 117.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=142): time 0.01225/1.01, allocations: 5.93 MB / 0.7202 GB, free: 116.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/1.01, allocations: 100.1 kB / 0.7203 GB, free: 116 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/1.013, allocations: 1.609 MB / 0.7219 GB, free: 115.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001469/1.013, allocations: 70.08 kB / 0.7219 GB, free: 115.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001049/1.014, allocations: 1.2 MB / 0.7231 GB, free: 115.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/1.015, allocations: 474.1 kB / 0.7236 GB, free: 115.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-05/1.015, allocations: 40.03 kB / 0.7236 GB, free: 115.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/1.015, allocations: 376.2 kB / 0.724 GB, free: 114.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/1.016, allocations: 0.6221 MB / 0.7246 GB, free: 114.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/1.017, allocations: 1.168 MB / 0.7257 GB, free: 114.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/1.019, allocations: 0.6828 MB / 0.7264 GB, free: 114.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/1.019, allocations: 5.156 kB / 0.7264 GB, free: 114.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.004381/1.023, allocations: 2.36 MB / 0.7287 GB, free: 113.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/1.023, allocations: 12.31 kB / 0.7287 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.069e-05/1.023, allocations: 22.38 kB / 0.7287 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001874/1.025, allocations: 1.166 MB / 0.7299 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008764/1.026, allocations: 314 kB / 0.7302 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/1.028, allocations: 1.725 MB / 0.7318 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/1.03, allocations: 229.9 kB / 0.7321 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/1.03, allocations: 84.77 kB / 0.7321 GB, free: 113.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 57 (driverEnvironment.ignition.y,brakes.brake_1.free,$PRE.brakes.brake_1.startForward,brakes.brake_1.startForward,$PRE.brakes.brake_1.startBackward,brakes.brake_1.startBackward,brakes.brake_1.locked,$PRE.brakes.brake_1.mode,brakes.brake_1.mode,brakes.brake_2.free,$PRE.brakes.brake_2.startForward,brakes.brake_2.startForward,$PRE.brakes.brake_2.startBackward,brakes.brake_2.startBackward,brakes.brake_2.locked,$PRE.brakes.brake_2.mode,brakes.brake_2.mode,brakes.brake_3.free,$PRE.brakes.brake_3.startForward,brakes.brake_3.startForward,$PRE.brakes.brake_3.startBackward,brakes.brake_3.startBackward,brakes.brake_3.locked,$PRE.brakes.brake_3.mode,brakes.brake_3.mode,brakes.brake_4.free,$PRE.brakes.brake_4.startForward,brakes.brake_4.startForward,$PRE.brakes.brake_4.startBackward,brakes.brake_4.startBackward,brakes.brake_4.locked,$PRE.brakes.brake_4.mode,brakes.brake_4.mode,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],accessories.inertia.cylinderColor[3],accessories.inertia.cylinderColor[2],accessories.inertia.cylinderColor[1],driveline.leftHalfShaft.cylinderColor[3],driveline.leftHalfShaft.cylinderColor[2],driveline.leftHalfShaft.cylinderColor[1],driveline.rightHalfShaft.cylinderColor[3],driveline.rightHalfShaft.cylinderColor[2],driveline.rightHalfShaft.cylinderColor[1],engine.flywheel.cylinderColor[3],engine.flywheel.cylinderColor[2],engine.flywheel.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 54} Notification: Performance of prepare postOptimizeDAE: time 0.001393/1.031, allocations: 0.5953 MB / 0.7327 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/1.032, allocations: 217.5 kB / 0.7329 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003379/1.035, allocations: 2.021 MB / 0.7349 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/1.035, allocations: 14.5 kB / 0.7349 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/1.035, allocations: 3.953 kB / 0.7349 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/1.035, allocations: 11.19 kB / 0.7349 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007166/1.042, allocations: 4.713 MB / 0.7395 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.042, allocations: 0 / 0.7395 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/1.043, allocations: 154.1 kB / 0.7397 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/1.045, allocations: 1.063 MB / 0.7407 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/1.045, allocations: 52.3 kB / 0.7408 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/1.047, allocations: 1.555 MB / 0.7423 GB, free: 108.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.047, allocations: 3.844 kB / 0.7423 GB, free: 108.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003962/1.051, allocations: 2.752 MB / 0.745 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007462/1.051, allocations: 442.5 kB / 0.7454 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/1.052, allocations: 52.3 kB / 0.7455 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008977/1.053, allocations: 134 kB / 0.7456 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004261/1.053, allocations: 246.2 kB / 0.7458 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/1.053, allocations: 56.08 kB / 0.7459 GB, free: 106.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001448/1.055, allocations: 1.226 MB / 0.7471 GB, free: 106.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.055, allocations: 2.406 kB / 0.7471 GB, free: 106.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001409/1.056, allocations: 443.7 kB / 0.7475 GB, free: 106.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (chassis.body.s,chassis.dragForces.v_rel) * Number of discrete variables: 21 (brakes.brake_1.free,brakes.brake_1.startForward,brakes.brake_1.startBackward,brakes.brake_1.locked,brakes.brake_1.mode,brakes.brake_2.free,brakes.brake_2.startForward,brakes.brake_2.startBackward,brakes.brake_2.locked,brakes.brake_2.mode,brakes.brake_3.free,brakes.brake_3.startForward,brakes.brake_3.startBackward,brakes.brake_3.locked,brakes.brake_3.mode,brakes.brake_4.free,brakes.brake_4.startForward,brakes.brake_4.startBackward,brakes.brake_4.locked,brakes.brake_4.mode,driverEnvironment.ignition.y) * Number of discrete states: 12 (brakes.brake_1.mode,brakes.brake_1.startForward,brakes.brake_1.startBackward,brakes.brake_2.mode,brakes.brake_2.startForward,brakes.brake_2.startBackward,brakes.brake_3.mode,brakes.brake_3.startForward,brakes.brake_3.startBackward,brakes.brake_4.mode,brakes.brake_4.startForward,brakes.brake_4.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 47} Notification: Performance of Backend phase and start with SimCode phase: time 0.004228/1.06, allocations: 3.772 MB / 0.7512 GB, free: 103.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002757/1.063, allocations: 1.732 MB / 0.7529 GB, free: 103.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.063, allocations: 2.953 kB / 0.7529 GB, free: 103.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001562/1.065, allocations: 0.8684 MB / 0.7537 GB, free: 102.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/1.066, allocations: 284.5 kB / 0.754 GB, free: 102.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02213/1.088, allocations: 26.24 MB / 0.7796 GB, free: 77.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009868/1.089, allocations: 1.635 MB / 0.7812 GB, free: 76.65 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008585/1.09, allocations: 275.5 kB / 0.7815 GB, free: 76.47 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008634/1.091, allocations: 0.9583 MB / 0.7824 GB, free: 75.58 MB / 458.7 MB Notification: Performance of SimCode: time 1.062e-06/1.091, allocations: 0 / 0.7824 GB, free: 75.58 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06563/1.156, allocations: 46.11 MB / 0.8274 GB, free: 38.93 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/1.157, allocations: 213.8 kB / 0.8276 GB, free: 38.69 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.839/4.996, allocations: 0 / 0.8276 GB, free: 38.69 MB / 458.7 MB (rm -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Examples_ConventionalAutomaticVehicle_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Examples_ConventionalAutomaticVehicle.fmu > VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.pipe 2>&1)