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.001196/0.001196, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.518/1.518, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009136/0.0009133, allocations: 94.64 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03889/0.03889, allocations: 7.813 MB / 344.3 MB, free: 2.328 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.79e-05/3.802e-05, allocations: 6.891 kB / 404.5 MB, free: 62.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.117, allocations: 52.21 MB / 456.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4573/0.5744, allocations: 110.9 MB / 0.5542 GB, free: 9.113 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.5747, allocations: 79.91 kB / 0.5543 GB, free: 9.082 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6538/1.229, allocations: 127.1 MB / 0.6784 GB, free: 118.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.229, allocations: 2.625 kB / 0.6784 GB, free: 118.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000469/1.229, allocations: 86.42 kB / 0.6785 GB, free: 118.7 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.008832/1.238, allocations: 2.685 MB / 0.6811 GB, free: 117.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.216e-05/1.238, allocations: 7.438 kB / 0.6811 GB, free: 117.6 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001538/1.24, allocations: 377.2 kB / 0.6815 GB, free: 117.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/1.241, allocations: 401.3 kB / 0.6819 GB, free: 117.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006604/1.248, allocations: 1.866 MB / 0.6837 GB, free: 116.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006168/1.249, allocations: 359.7 kB / 0.684 GB, free: 116.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/1.25, allocations: 277.3 kB / 0.6843 GB, free: 116.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/1.261, allocations: 3.119 MB / 0.6874 GB, free: 116 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003562/1.262, allocations: 31.41 kB / 0.6874 GB, free: 116 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009564/1.263, allocations: 124.4 kB / 0.6875 GB, free: 116 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002011/1.263, allocations: 107.9 kB / 0.6876 GB, free: 116 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008038/1.271, allocations: 2.101 MB / 0.6897 GB, free: 115.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02974/1.301, allocations: 12.33 MB / 0.7017 GB, free: 110.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003904/1.305, allocations: 1.166 MB / 0.7028 GB, free: 110.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002259/1.307, allocations: 0.7538 MB / 0.7036 GB, free: 110.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/1.307, allocations: 24.55 kB / 0.7036 GB, free: 110.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.125e-05/1.307, allocations: 57.19 kB / 0.7037 GB, free: 110.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=149): time 8.155e-06/1.307, allocations: 0 / 0.7037 GB, free: 110.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=179): time 0.02064/1.328, allocations: 6.195 MB / 0.7097 GB, free: 107.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.139e-05/1.328, allocations: 126.5 kB / 0.7098 GB, free: 106.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005162/1.333, allocations: 1.694 MB / 0.7115 GB, free: 106.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003069/1.334, allocations: 78.89 kB / 0.7116 GB, free: 106.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001597/1.335, allocations: 1.309 MB / 0.7128 GB, free: 105.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007656/1.336, allocations: 0.5958 MB / 0.7134 GB, free: 104.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/1.336, allocations: 43.94 kB / 0.7135 GB, free: 104.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002029/1.337, allocations: 402.9 kB / 0.7138 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/1.339, allocations: 0.7529 MB / 0.7146 GB, free: 104 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002827/1.342, allocations: 1.424 MB / 0.716 GB, free: 102.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/1.344, allocations: 0.8149 MB / 0.7168 GB, free: 102.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.772e-05/1.344, allocations: 3.906 kB / 0.7168 GB, free: 102.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=297) (initialization): time 0.008646/1.353, allocations: 2.889 MB / 0.7196 GB, free: 101.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.336e-05/1.353, allocations: 14.91 kB / 0.7196 GB, free: 101.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.176e-05/1.353, allocations: 27.25 kB / 0.7196 GB, free: 101.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003467/1.357, allocations: 1.365 MB / 0.721 GB, free: 100.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/1.359, allocations: 414.3 kB / 0.7214 GB, free: 100 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00445/1.363, allocations: 1.904 MB / 0.7232 GB, free: 98.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004168/1.368, allocations: 293.8 kB / 0.7235 GB, free: 97.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005668/1.368, allocations: 119.6 kB / 0.7236 GB, free: 97.82 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 () * 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.001037/1.369, allocations: 276.1 kB / 0.7239 GB, free: 97.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.37, allocations: 244.9 kB / 0.7241 GB, free: 97.31 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007873/1.378, allocations: 2.39 MB / 0.7264 GB, free: 95.22 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/1.378, allocations: 23.95 kB / 0.7265 GB, free: 95.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/1.378, allocations: 3.25 kB / 0.7265 GB, free: 95.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.084e-05/1.378, allocations: 7.875 kB / 0.7265 GB, free: 95.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/1.394, allocations: 5.552 MB / 0.7319 GB, free: 89.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/1.394, allocations: 3.938 kB / 0.7319 GB, free: 89.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009628/1.395, allocations: 231.6 kB / 0.7321 GB, free: 89.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001992/1.397, allocations: 1.26 MB / 0.7334 GB, free: 88.21 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001651/1.397, allocations: 59.94 kB / 0.7334 GB, free: 88.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/1.399, allocations: 1.714 MB / 0.7351 GB, free: 86.42 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.399, allocations: 7.922 kB / 0.7351 GB, free: 86.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004642/1.404, allocations: 3.29 MB / 0.7383 GB, free: 83.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/1.405, allocations: 0.5018 MB / 0.7388 GB, free: 82.49 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000679/1.406, allocations: 60 kB / 0.7389 GB, free: 82.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/1.408, allocations: 191.8 kB / 0.739 GB, free: 82.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005629/1.408, allocations: 308.8 kB / 0.7393 GB, free: 81.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/1.408, allocations: 75.88 kB / 0.7394 GB, free: 81.87 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002406/1.411, allocations: 1.271 MB / 0.7406 GB, free: 80.58 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.411, allocations: 0 / 0.7406 GB, free: 80.58 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002159/1.413, allocations: 0.5273 MB / 0.7412 GB, free: 80.05 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) * 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.005053/1.418, allocations: 4.544 MB / 0.7456 GB, free: 75.42 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003417/1.422, allocations: 2.12 MB / 0.7477 GB, free: 73.28 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.422, allocations: 4 kB / 0.7477 GB, free: 73.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001931/1.423, allocations: 1.108 MB / 0.7488 GB, free: 72.17 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/1.425, allocations: 325.1 kB / 0.7491 GB, free: 71.87 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/1.438, allocations: 4.998 MB / 0.7539 GB, free: 66.86 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001688/1.44, allocations: 1.758 MB / 0.7557 GB, free: 65.07 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001287/1.441, allocations: 314.1 kB / 0.756 GB, free: 64.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/1.442, allocations: 1.073 MB / 0.757 GB, free: 63.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.984e-06/1.442, allocations: 0 / 0.757 GB, free: 63.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08257/1.525, allocations: 53.28 MB / 0.809 GB, free: 11.04 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001366/1.525, allocations: 184.3 kB / 0.8092 GB, free: 10.82 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.593/5.118, allocations: 3.938 kB / 0.8092 GB, free: 10.82 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)