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.00139/0.00139, allocations: 173.9 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.522/1.522, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.000912/0.000912, allocations: 95.95 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03924/0.03924, allocations: 7.832 MB / 344.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.35e-05/3.354e-05, allocations: 4 kB / 404.5 MB, free: 62.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 52.21 MB / 456.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4473/0.5539, allocations: 106.9 MB / 0.5503 GB, free: 13.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.5542, allocations: 89.08 kB / 0.5504 GB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5593/1.113, allocations: 137.7 MB / 0.6849 GB, free: 125 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.803e-06/1.114, allocations: 0 / 0.6849 GB, free: 125 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002075/1.114, allocations: 81.44 kB / 0.685 GB, free: 125 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.004122/1.118, allocations: 2.359 MB / 0.6873 GB, free: 123.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.118, allocations: 7.125 kB / 0.6873 GB, free: 123.9 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004221/1.118, allocations: 334.5 kB / 0.6876 GB, free: 123.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007711/1.119, allocations: 356.1 kB / 0.6879 GB, free: 123.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002797/1.122, allocations: 1.73 MB / 0.6896 GB, free: 123.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/1.122, allocations: 186.1 kB / 0.6898 GB, free: 123.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003371/1.122, allocations: 249 kB / 0.69 GB, free: 123.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00419/1.127, allocations: 2.784 MB / 0.6928 GB, free: 122.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-05/1.127, allocations: 26.86 kB / 0.6928 GB, free: 122.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002188/1.127, allocations: 106.5 kB / 0.6929 GB, free: 122.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/1.127, allocations: 106.7 kB / 0.693 GB, free: 122 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002896/1.13, allocations: 1.783 MB / 0.6947 GB, free: 121.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01163/1.142, allocations: 11.15 MB / 0.7056 GB, free: 115.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/1.143, allocations: 1.01 MB / 0.7066 GB, free: 115.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007848/1.144, allocations: 0.6023 MB / 0.7072 GB, free: 114.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/1.144, allocations: 24.14 kB / 0.7072 GB, free: 114.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/1.144, allocations: 46.69 kB / 0.7073 GB, free: 114.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=116): time 3.156e-06/1.144, allocations: 0 / 0.7073 GB, free: 114.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=142): time 0.007115/1.151, allocations: 4.559 MB / 0.7117 GB, free: 111.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/1.151, allocations: 97.17 kB / 0.7118 GB, free: 111.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/1.153, allocations: 1.581 MB / 0.7133 GB, free: 110.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/1.153, allocations: 69.7 kB / 0.7134 GB, free: 110.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007148/1.154, allocations: 1.2 MB / 0.7146 GB, free: 109.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/1.154, allocations: 481 kB / 0.715 GB, free: 109 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.551e-05/1.154, allocations: 36 kB / 0.7151 GB, free: 108.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.523e-05/1.154, allocations: 381.8 kB / 0.7154 GB, free: 108.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008374/1.155, allocations: 0.5898 MB / 0.716 GB, free: 108 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/1.156, allocations: 1.129 MB / 0.7171 GB, free: 106.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008941/1.157, allocations: 0.6516 MB / 0.7178 GB, free: 105.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/1.157, allocations: 8 kB / 0.7178 GB, free: 105.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.003516/1.161, allocations: 2.281 MB / 0.72 GB, free: 103.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/1.161, allocations: 16 kB / 0.72 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.477e-05/1.161, allocations: 24.84 kB / 0.72 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/1.163, allocations: 1.132 MB / 0.7211 GB, free: 102.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008757/1.163, allocations: 303.5 kB / 0.7214 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/1.165, allocations: 1.73 MB / 0.7231 GB, free: 100.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/1.167, allocations: 219.9 kB / 0.7233 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/1.167, allocations: 87.98 kB / 0.7234 GB, free: 100.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 () * 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.0003018/1.167, allocations: 249.3 kB / 0.7236 GB, free: 99.92 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/1.168, allocations: 224.2 kB / 0.7239 GB, free: 99.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003187/1.171, allocations: 1.974 MB / 0.7258 GB, free: 97.71 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.171, allocations: 12 kB / 0.7258 GB, free: 97.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/1.171, allocations: 4 kB / 0.7258 GB, free: 97.69 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/1.171, allocations: 7.984 kB / 0.7258 GB, free: 97.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00721/1.178, allocations: 4.666 MB / 0.7304 GB, free: 92.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/1.178, allocations: 4 kB / 0.7304 GB, free: 92.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005774/1.179, allocations: 155.8 kB / 0.7305 GB, free: 92.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/1.18, allocations: 1.044 MB / 0.7315 GB, free: 91.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-05/1.18, allocations: 43.95 kB / 0.7316 GB, free: 91.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/1.182, allocations: 1.551 MB / 0.7331 GB, free: 90.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.182, allocations: 0 / 0.7331 GB, free: 90.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/1.186, allocations: 2.663 MB / 0.7357 GB, free: 87.43 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000842/1.187, allocations: 446 kB / 0.7361 GB, free: 86.97 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/1.187, allocations: 55.98 kB / 0.7362 GB, free: 86.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009074/1.188, allocations: 132 kB / 0.7363 GB, free: 86.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004092/1.188, allocations: 240.8 kB / 0.7365 GB, free: 86.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.188, allocations: 55.95 kB / 0.7366 GB, free: 86.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001625/1.19, allocations: 1.2 MB / 0.7378 GB, free: 85.28 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.19, allocations: 0 / 0.7378 GB, free: 85.28 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00135/1.191, allocations: 448 kB / 0.7382 GB, free: 84.84 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) * 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.003894/1.195, allocations: 3.683 MB / 0.7418 GB, free: 81.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002528/1.198, allocations: 1.672 MB / 0.7434 GB, free: 79.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/1.198, allocations: 0 / 0.7434 GB, free: 79.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/1.199, allocations: 0.8341 MB / 0.7442 GB, free: 78.58 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/1.201, allocations: 278.9 kB / 0.7445 GB, free: 78.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007312/1.208, allocations: 3.7 MB / 0.7481 GB, free: 74.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009028/1.209, allocations: 1.632 MB / 0.7497 GB, free: 72.89 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007874/1.21, allocations: 277 kB / 0.75 GB, free: 72.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008564/1.211, allocations: 0.9601 MB / 0.7509 GB, free: 71.66 MB / 458.7 MB Notification: Performance of SimCode: time 1.012e-06/1.211, allocations: 0 / 0.7509 GB, free: 71.66 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06588/1.277, allocations: 45.74 MB / 0.7956 GB, free: 26.55 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/1.277, allocations: 191.4 kB / 0.7957 GB, free: 26.32 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.34/4.617, allocations: 5.172 kB / 0.7957 GB, free: 26.32 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)