Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.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.ConventionalManualVehicle,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Examples_ConventionalManualVehicle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Examples.ConventionalManualVehicle,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Examples_ConventionalManualVehicle",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.007449/0.007449, allocations: 171.2 kB / 15.11 MB, free: 5.977 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.383/1.383, allocations: 223.2 MB / 239 MB, free: 1.828 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.0009066/0.0009067, allocations: 95.75 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.04046/0.04046, allocations: 7.986 MB / 349.3 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003227, allocations: 8.5 kB / 412.1 MB, free: 89.1 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 52.21 MB / 464.3 MB, free: 43.13 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4177/0.5208, allocations: 110.7 MB / 0.5615 GB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.5211, allocations: 89.2 kB / 0.5615 GB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2998/0.8209, allocations: 127.2 MB / 0.6857 GB, free: 12.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.821, allocations: 0 / 0.6857 GB, free: 12.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002377/0.8212, allocations: 91.97 kB / 0.6858 GB, free: 12.43 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.006859/0.8281, allocations: 2.98 MB / 0.6887 GB, free: 9.383 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.8281, allocations: 12.03 kB / 0.6887 GB, free: 9.371 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008858/0.829, allocations: 379.9 kB / 0.6891 GB, free: 8.992 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.8301, allocations: 399.5 kB / 0.6895 GB, free: 8.598 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003673/0.8338, allocations: 1.879 MB / 0.6913 GB, free: 6.668 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003587/0.8341, allocations: 361.8 kB / 0.6917 GB, free: 6.281 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004568/0.8346, allocations: 287.8 kB / 0.6919 GB, free: 6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005564/0.8402, allocations: 3.197 MB / 0.6951 GB, free: 2.535 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/0.8403, allocations: 35.64 kB / 0.6951 GB, free: 2.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002598/0.8406, allocations: 116 kB / 0.6952 GB, free: 2.387 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.8407, allocations: 99.97 kB / 0.6953 GB, free: 2.289 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004493/0.8452, allocations: 2.247 MB / 0.6975 GB, free: 28 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2498/1.095, allocations: 12.32 MB / 0.7095 GB, free: 109.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/1.097, allocations: 1.231 MB / 0.7107 GB, free: 109.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/1.097, allocations: 26.48 kB / 0.7108 GB, free: 109.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/1.098, allocations: 49.59 kB / 0.7108 GB, free: 109.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=149): time 4.698e-06/1.098, allocations: 0 / 0.7108 GB, free: 109.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=179): time 0.0165/1.114, allocations: 8.278 MB / 0.7189 GB, free: 107.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/1.114, allocations: 121 kB / 0.719 GB, free: 107 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002807/1.117, allocations: 1.728 MB / 0.7207 GB, free: 106.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002907/1.117, allocations: 83.89 kB / 0.7208 GB, free: 106.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001029/1.118, allocations: 1.306 MB / 0.722 GB, free: 106.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005617/1.119, allocations: 0.6019 MB / 0.7226 GB, free: 105.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/1.119, allocations: 43.16 kB / 0.7227 GB, free: 105.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/1.119, allocations: 399.6 kB / 0.7231 GB, free: 105.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/1.121, allocations: 0.8227 MB / 0.7239 GB, free: 105.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/1.123, allocations: 1.48 MB / 0.7253 GB, free: 104.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/1.124, allocations: 0.8681 MB / 0.7261 GB, free: 104.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/1.124, allocations: 5.812 kB / 0.7262 GB, free: 104.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=297) (initialization): time 0.006402/1.131, allocations: 3.006 MB / 0.7291 GB, free: 104.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/1.131, allocations: 13.5 kB / 0.7291 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.716e-05/1.131, allocations: 27.42 kB / 0.7291 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002492/1.133, allocations: 1.414 MB / 0.7305 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/1.135, allocations: 408.5 kB / 0.7309 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/1.137, allocations: 1.909 MB / 0.7328 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/1.14, allocations: 293.4 kB / 0.733 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002951/1.14, allocations: 111 kB / 0.7331 GB, free: 103.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 66 (driverEnvironment.ignition.y,transmission.clutch.free,$PRE.transmission.clutch.startForward,transmission.clutch.startForward,$PRE.transmission.clutch.startBackward,transmission.clutch.startBackward,$PRE.transmission.clutch.mode,transmission.clutch.mode,transmission.clutchLocked.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,transmission.shiftOutput.gear,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 (234): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {5 59} Notification: Performance of prepare postOptimizeDAE: time 0.001802/1.142, allocations: 0.6702 MB / 0.7338 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005571/1.143, allocations: 242.7 kB / 0.734 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004313/1.147, allocations: 2.446 MB / 0.7364 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/1.147, allocations: 19.06 kB / 0.7364 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.147, allocations: 2.875 kB / 0.7364 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/1.147, allocations: 7.266 kB / 0.7364 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/1.157, allocations: 5.653 MB / 0.742 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/1.157, allocations: 7.422 kB / 0.742 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009598/1.158, allocations: 232 kB / 0.7422 GB, free: 100.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/1.16, allocations: 1.287 MB / 0.7435 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/1.16, allocations: 64.83 kB / 0.7435 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/1.163, allocations: 1.727 MB / 0.7452 GB, free: 99.49 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.163, allocations: 3.656 kB / 0.7452 GB, free: 99.49 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005254/1.168, allocations: 3.436 MB / 0.7486 GB, free: 97.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/1.169, allocations: 0.5024 MB / 0.7491 GB, free: 97.24 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003668/1.169, allocations: 64.06 kB / 0.7491 GB, free: 97.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/1.171, allocations: 187.3 kB / 0.7493 GB, free: 97.17 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00055/1.171, allocations: 314.5 kB / 0.7496 GB, free: 97.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/1.171, allocations: 75.89 kB / 0.7497 GB, free: 97.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001835/1.173, allocations: 1.293 MB / 0.7509 GB, free: 96.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.173, allocations: 0 / 0.7509 GB, free: 96.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001935/1.175, allocations: 0.5222 MB / 0.7514 GB, free: 96.55 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 10 (transmission.clutch.phi_rel,transmission.clutch.w_rel,chassis.body.s,chassis.dragForces.v_rel,driverEnvironment.acceleratorPosition.s,driverEnvironment.acceleratorPosition.v,driverEnvironment.clutchPosition.s,driverEnvironment.clutchPosition.v,driverEnvironment.brakePosition.s,driverEnvironment.brakePosition.v) * Number of discrete variables: 27 (transmission.clutch.free,transmission.clutch.startForward,transmission.clutch.startBackward,transmission.clutch.mode,transmission.clutchLocked.y,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,transmission.shiftOutput.gear) * Number of discrete states: 15 (transmission.clutch.mode,transmission.clutch.startForward,brakes.brake_2.mode,brakes.brake_2.startForward,brakes.brake_2.startBackward,brakes.brake_1.mode,brakes.brake_1.startForward,brakes.brake_1.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,transmission.clutch.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 118 * 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 {5 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.005945/1.181, allocations: 4.736 MB / 0.7561 GB, free: 93.49 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004135/1.185, allocations: 2.238 MB / 0.7582 GB, free: 92.55 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.185, allocations: 0 / 0.7582 GB, free: 92.55 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002236/1.188, allocations: 1.16 MB / 0.7594 GB, free: 92.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/1.19, allocations: 330.7 kB / 0.7597 GB, free: 91.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03443/1.224, allocations: 31.58 MB / 0.7905 GB, free: 63.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/1.225, allocations: 1.759 MB / 0.7923 GB, free: 62.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001161/1.227, allocations: 305.8 kB / 0.7925 GB, free: 62.17 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/1.228, allocations: 1.074 MB / 0.7936 GB, free: 61.18 MB / 458.7 MB Notification: Performance of SimCode: time 1.382e-06/1.228, allocations: 0 / 0.7936 GB, free: 61.18 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07922/1.307, allocations: 53.61 MB / 0.8459 GB, free: 17.79 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/1.307, allocations: 213.1 kB / 0.8461 GB, free: 17.55 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.685/4.992, allocations: 0 / 0.8461 GB, free: 17.55 MB / 458.7 MB (rm -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Examples_ConventionalManualVehicle_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Examples_ConventionalManualVehicle.fmu > VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.pipe 2>&1)