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.001004/0.001004, allocations: 172.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0009425/0.0009424, allocations: 90.05 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.0371/0.0371, allocations: 7.836 MB / 339.1 MB, free: 7.441 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.867e-05, allocations: 1.375 kB / 397.6 MB, free: 48.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1086, allocations: 52.2 MB / 449.8 MB, free: 6.977 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4766/0.5852, allocations: 109.9 MB / 0.5466 GB, free: 25.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.5855, allocations: 83.59 kB / 0.5467 GB, free: 25.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2903/0.8758, allocations: 126.6 MB / 0.6704 GB, free: 13.74 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.8759, allocations: 4 kB / 0.6704 GB, free: 13.74 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002364/0.8761, allocations: 83.97 kB / 0.6704 GB, free: 13.66 MB / 442.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.005345/0.8815, allocations: 2.67 MB / 0.6731 GB, free: 10.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.8815, allocations: 12.03 kB / 0.6731 GB, free: 10.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009169/0.8825, allocations: 395.6 kB / 0.6734 GB, free: 10.53 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003072/0.8855, allocations: 1.868 MB / 0.6753 GB, free: 8.609 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000294/0.8858, allocations: 269.8 kB / 0.6755 GB, free: 8.312 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003453/0.8862, allocations: 175.7 kB / 0.6757 GB, free: 8.141 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003531/0.8897, allocations: 1.932 MB / 0.6776 GB, free: 6.199 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004515/0.8943, allocations: 2.737 MB / 0.6802 GB, free: 3.203 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.8944, allocations: 31.73 kB / 0.6803 GB, free: 3.172 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/0.8946, allocations: 4 kB / 0.6803 GB, free: 3.168 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001138/0.8947, allocations: 111.9 kB / 0.6804 GB, free: 3.059 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01666/0.9114, allocations: 11.82 MB / 0.6919 GB, free: 6.844 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.9133, allocations: 1.097 MB / 0.693 GB, free: 5.723 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.9144, allocations: 0.713 MB / 0.6937 GB, free: 5.004 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.9145, allocations: 25.28 kB / 0.6937 GB, free: 4.977 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.9146, allocations: 55.75 kB / 0.6938 GB, free: 4.914 MB / 458.7 MB Notification: Performance of pre-optimization done (n=149): time 3.897e-06/0.9146, allocations: 0 / 0.6938 GB, free: 4.914 MB / 458.7 MB Notification: Performance of matching and sorting (n=179): time 0.2968/1.211, allocations: 5.766 MB / 0.6994 GB, free: 115.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/1.212, allocations: 123.3 kB / 0.6995 GB, free: 115.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/1.214, allocations: 1.313 MB / 0.7008 GB, free: 115.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003134/1.214, allocations: 58.84 kB / 0.7009 GB, free: 115.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001125/1.215, allocations: 1.324 MB / 0.7022 GB, free: 115.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005365/1.216, allocations: 0.5771 MB / 0.7027 GB, free: 114.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/1.216, allocations: 2.438 kB / 0.7027 GB, free: 114.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/1.216, allocations: 396.8 kB / 0.7031 GB, free: 114.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/1.217, allocations: 0.7081 MB / 0.7038 GB, free: 114.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/1.219, allocations: 1.361 MB / 0.7051 GB, free: 113.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/1.22, allocations: 0.8059 MB / 0.7059 GB, free: 113.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/1.22, allocations: 5.344 kB / 0.7059 GB, free: 113.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=297) (initialization): time 0.005728/1.226, allocations: 2.637 MB / 0.7085 GB, free: 113.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.42e-05/1.226, allocations: 14.12 kB / 0.7085 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.685e-05/1.226, allocations: 29.34 kB / 0.7085 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003024/1.229, allocations: 1.355 MB / 0.7099 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/1.231, allocations: 406.2 kB / 0.7102 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/1.234, allocations: 2.095 MB / 0.7123 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/1.236, allocations: 244 kB / 0.7125 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/1.237, allocations: 112.9 kB / 0.7126 GB, free: 112.9 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transmission.clutch.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_2.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_3.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_4.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real 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.0006564/1.237, allocations: 219.1 kB / 0.7128 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00348/1.241, allocations: 1.833 MB / 0.7146 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/1.241, allocations: 217.5 kB / 0.7148 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004198/1.246, allocations: 2.241 MB / 0.717 GB, free: 112.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/1.246, allocations: 25.08 kB / 0.717 GB, free: 112.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.246, allocations: 0 / 0.717 GB, free: 112.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-05/1.246, allocations: 12.22 kB / 0.7171 GB, free: 112.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/1.256, allocations: 5.116 MB / 0.7221 GB, free: 111.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.256, allocations: 3.125 kB / 0.7221 GB, free: 111.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009567/1.257, allocations: 231.8 kB / 0.7223 GB, free: 111.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002037/1.259, allocations: 1.242 MB / 0.7235 GB, free: 111.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/1.259, allocations: 35.55 kB / 0.7235 GB, free: 111.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002776/1.262, allocations: 1.869 MB / 0.7254 GB, free: 111 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/1.262, allocations: 3.688 kB / 0.7254 GB, free: 111 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00462/1.267, allocations: 3.109 MB / 0.7284 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009222/1.267, allocations: 475 kB / 0.7288 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003299/1.268, allocations: 33.56 kB / 0.7289 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/1.269, allocations: 166.2 kB / 0.729 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005075/1.27, allocations: 314.1 kB / 0.7293 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/1.27, allocations: 76.88 kB / 0.7294 GB, free: 110.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001433/1.271, allocations: 0.9568 MB / 0.7303 GB, free: 109.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.271, allocations: 1.875 kB / 0.7303 GB, free: 109.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002059/1.273, allocations: 459.6 kB / 0.7308 GB, free: 109.9 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.004847/1.278, allocations: 4.375 MB / 0.7351 GB, free: 107.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003344/1.281, allocations: 1.996 MB / 0.737 GB, free: 106.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/1.281, allocations: 0 / 0.737 GB, free: 106.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001822/1.283, allocations: 1.063 MB / 0.738 GB, free: 106.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/1.285, allocations: 285.7 kB / 0.7383 GB, free: 106.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/1.297, allocations: 4.791 MB / 0.743 GB, free: 104.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/1.298, allocations: 1.756 MB / 0.7447 GB, free: 103.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001019/1.299, allocations: 287.1 kB / 0.745 GB, free: 103.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.3, allocations: 1.07 MB / 0.746 GB, free: 102.6 MB / 458.7 MB Notification: Performance of SimCode: time 2.846e-06/1.3, allocations: 0 / 0.746 GB, free: 102.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08285/1.383, allocations: 48.25 MB / 0.7932 GB, free: 78.18 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/1.383, allocations: 141.8 kB / 0.7933 GB, free: 78 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.271/4.654, allocations: 0 / 0.7933 GB, free: 78 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)