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.00131/0.00131, allocations: 173.9 kB / 7.646 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.401/1.401, allocations: 221.5 MB / 229.6 MB, free: 3.133 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.0009365/0.0009365, allocations: 93.86 kB / 280.5 MB, free: 1.156 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03919/0.03919, allocations: 7.848 MB / 339.1 MB, free: 6.617 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.291e-05, allocations: 7.984 kB / 397.6 MB, free: 68.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 52.2 MB / 449.8 MB, free: 16.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4512/0.5607, allocations: 106.2 MB / 0.543 GB, free: 5.879 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.5609, allocations: 76.78 kB / 0.5431 GB, free: 5.848 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.605/1.166, allocations: 137.3 MB / 0.6771 GB, free: 111.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.086e-06/1.166, allocations: 0 / 0.6771 GB, free: 111.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003489/1.166, allocations: 77.61 kB / 0.6772 GB, free: 111.1 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: 632 * Number of variables: 632 Notification: Performance of Generate backend data structure: time 0.006517/1.173, allocations: 2.362 MB / 0.6795 GB, free: 109.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.173, allocations: 11.16 kB / 0.6795 GB, free: 109.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/1.174, allocations: 351.1 kB / 0.6799 GB, free: 109.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003646/1.178, allocations: 1.723 MB / 0.6815 GB, free: 108.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.643e-05/1.178, allocations: 87.84 kB / 0.6816 GB, free: 108.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003077/1.178, allocations: 157.8 kB / 0.6818 GB, free: 108.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002754/1.181, allocations: 1.629 MB / 0.6834 GB, free: 108.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003611/1.185, allocations: 2.446 MB / 0.6858 GB, free: 107.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.644e-05/1.185, allocations: 22.62 kB / 0.6858 GB, free: 107.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/1.185, allocations: 6.625 kB / 0.6858 GB, free: 107.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.761e-05/1.185, allocations: 94 kB / 0.6859 GB, free: 107.6 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/1.197, allocations: 10.64 MB / 0.6963 GB, free: 101.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/1.198, allocations: 0.9557 MB / 0.6972 GB, free: 100.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006823/1.199, allocations: 0.5743 MB / 0.6978 GB, free: 100.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/1.199, allocations: 15.89 kB / 0.6978 GB, free: 100.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/1.199, allocations: 46.81 kB / 0.6978 GB, free: 100.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 3.286e-06/1.199, allocations: 0 / 0.6978 GB, free: 100.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=142): time 0.007552/1.207, allocations: 4.284 MB / 0.702 GB, free: 95.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/1.207, allocations: 92.48 kB / 0.7021 GB, free: 95.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/1.208, allocations: 1.161 MB / 0.7032 GB, free: 94.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001185/1.208, allocations: 49.72 kB / 0.7033 GB, free: 94.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007789/1.209, allocations: 1.213 MB / 0.7045 GB, free: 93.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/1.21, allocations: 463.3 kB / 0.7049 GB, free: 92.97 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.513e-05/1.21, allocations: 0 / 0.7049 GB, free: 92.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.22e-05/1.21, allocations: 369.9 kB / 0.7053 GB, free: 92.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007325/1.211, allocations: 0.5552 MB / 0.7058 GB, free: 92.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009293/1.211, allocations: 1.093 MB / 0.7069 GB, free: 90.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/1.212, allocations: 0.632 MB / 0.7075 GB, free: 90.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/1.213, allocations: 12 kB / 0.7075 GB, free: 90.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.003347/1.216, allocations: 2.07 MB / 0.7095 GB, free: 88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/1.216, allocations: 12 kB / 0.7095 GB, free: 87.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.114e-05/1.216, allocations: 33.94 kB / 0.7096 GB, free: 87.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/1.218, allocations: 1.124 MB / 0.7107 GB, free: 86.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009276/1.219, allocations: 306.6 kB / 0.711 GB, free: 86.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/1.221, allocations: 1.874 MB / 0.7128 GB, free: 84.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/1.223, allocations: 187.8 kB / 0.713 GB, free: 84.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/1.223, allocations: 87.98 kB / 0.713 GB, free: 84.42 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brakes.brake_3.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_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: 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.0004342/1.223, allocations: 203.6 kB / 0.7132 GB, free: 84.23 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002774/1.226, allocations: 1.54 MB / 0.7147 GB, free: 82.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/1.226, allocations: 181.7 kB / 0.7149 GB, free: 82.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003045/1.229, allocations: 1.838 MB / 0.7167 GB, free: 80.63 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/1.229, allocations: 16 kB / 0.7167 GB, free: 80.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.229, allocations: 4 kB / 0.7167 GB, free: 80.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/1.229, allocations: 11.91 kB / 0.7167 GB, free: 80.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006874/1.236, allocations: 4.272 MB / 0.7209 GB, free: 76.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/1.236, allocations: 4 kB / 0.7209 GB, free: 76.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005988/1.237, allocations: 160 kB / 0.7211 GB, free: 76.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001615/1.239, allocations: 1.035 MB / 0.7221 GB, free: 75.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/1.239, allocations: 23.95 kB / 0.7221 GB, free: 75.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/1.241, allocations: 1.668 MB / 0.7237 GB, free: 73.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/1.241, allocations: 4 kB / 0.7237 GB, free: 73.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003802/1.245, allocations: 2.526 MB / 0.7262 GB, free: 70.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008013/1.246, allocations: 394.6 kB / 0.7266 GB, free: 70.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002691/1.246, allocations: 28 kB / 0.7266 GB, free: 70.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008906/1.247, allocations: 115.9 kB / 0.7267 GB, free: 70.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003685/1.247, allocations: 240.8 kB / 0.7269 GB, free: 70.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/1.247, allocations: 51.95 kB / 0.727 GB, free: 69.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001129/1.248, allocations: 0.8441 MB / 0.7278 GB, free: 69.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.248, allocations: 0 / 0.7278 GB, free: 69.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001523/1.25, allocations: 380 kB / 0.7282 GB, free: 68.76 MB / 442.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.003872/1.254, allocations: 3.531 MB / 0.7316 GB, free: 65.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002444/1.256, allocations: 1.573 MB / 0.7332 GB, free: 63.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.256, allocations: 0 / 0.7332 GB, free: 63.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001387/1.258, allocations: 0.7823 MB / 0.7339 GB, free: 62.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/1.259, allocations: 249.8 kB / 0.7342 GB, free: 62.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007963/1.267, allocations: 3.523 MB / 0.7376 GB, free: 58.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009715/1.268, allocations: 1.635 MB / 0.7392 GB, free: 57.31 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008573/1.269, allocations: 248.1 kB / 0.7394 GB, free: 57.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009502/1.27, allocations: 0.9375 MB / 0.7404 GB, free: 56.13 MB / 442.7 MB Notification: Performance of SimCode: time 1.303e-06/1.27, allocations: 0 / 0.7404 GB, free: 56.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07098/1.341, allocations: 40.38 MB / 0.7798 GB, free: 16.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/1.341, allocations: 151.2 kB / 0.7799 GB, free: 15.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.999/4.341, allocations: 0 / 0.7799 GB, free: 15.9 MB / 442.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)