Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.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.ConventionalVehicle_AltNames,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Examples_ConventionalVehicle_AltNames",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Examples.ConventionalVehicle_AltNames,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Examples_ConventionalVehicle_AltNames",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.001307/0.001307, allocations: 178.4 kB / 7.65 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.477/1.477, allocations: 221.5 MB / 229.6 MB, free: 7.508 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.0008207/0.0008209, allocations: 87.06 kB / 280.5 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03535/0.03535, allocations: 7.853 MB / 339.1 MB, free: 7.402 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.193e-05/2.194e-05, allocations: 1.531 kB / 397.6 MB, free: 48.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1186, allocations: 52.2 MB / 449.8 MB, free: 6.934 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.462/0.5807, allocations: 106.3 MB / 0.5431 GB, free: 25.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.581, allocations: 82.84 kB / 0.5431 GB, free: 25.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3554/0.9364, allocations: 155.3 MB / 0.6948 GB, free: 4.613 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.9365, allocations: 0 / 0.6948 GB, free: 4.613 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002252/0.9367, allocations: 79.97 kB / 0.6949 GB, free: 4.535 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: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.004665/0.9414, allocations: 2.403 MB / 0.6972 GB, free: 2.074 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.19e-05/0.9414, allocations: 12.03 kB / 0.6973 GB, free: 2.062 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008997/0.9424, allocations: 367.9 kB / 0.6976 GB, free: 1.699 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3064/1.249, allocations: 1.734 MB / 0.6993 GB, free: 123.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/1.249, allocations: 84.75 kB / 0.6994 GB, free: 123.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00118/1.25, allocations: 166.2 kB / 0.6995 GB, free: 123.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003978/1.254, allocations: 1.672 MB / 0.7012 GB, free: 123.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004414/1.259, allocations: 2.505 MB / 0.7036 GB, free: 122.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/1.259, allocations: 26.56 kB / 0.7036 GB, free: 122.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/1.259, allocations: 5.562 kB / 0.7036 GB, free: 122.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001704/1.259, allocations: 99.58 kB / 0.7037 GB, free: 122.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01471/1.274, allocations: 10.84 MB / 0.7143 GB, free: 118.3 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/1.276, allocations: 0.9547 MB / 0.7153 GB, free: 118.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000915/1.277, allocations: 0.5728 MB / 0.7158 GB, free: 118.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/1.277, allocations: 20.7 kB / 0.7158 GB, free: 118.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/1.277, allocations: 48.92 kB / 0.7159 GB, free: 118.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=116): time 3.637e-06/1.277, allocations: 0 / 0.7159 GB, free: 118.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=142): time 0.007684/1.284, allocations: 4.315 MB / 0.7201 GB, free: 117 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/1.284, allocations: 92.02 kB / 0.7202 GB, free: 116.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/1.286, allocations: 1.159 MB / 0.7213 GB, free: 116.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000115/1.286, allocations: 49.08 kB / 0.7214 GB, free: 116.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008576/1.287, allocations: 1.241 MB / 0.7226 GB, free: 116.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/1.287, allocations: 464 kB / 0.723 GB, free: 115.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.43e-05/1.287, allocations: 3.75 kB / 0.723 GB, free: 115.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/1.287, allocations: 372 kB / 0.7234 GB, free: 115.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007505/1.288, allocations: 0.554 MB / 0.7239 GB, free: 115.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009272/1.289, allocations: 1.087 MB / 0.725 GB, free: 115 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/1.29, allocations: 0.6336 MB / 0.7256 GB, free: 114.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/1.29, allocations: 3.625 kB / 0.7256 GB, free: 114.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.003419/1.294, allocations: 2.075 MB / 0.7276 GB, free: 114.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/1.294, allocations: 16.8 kB / 0.7276 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/1.294, allocations: 26.97 kB / 0.7277 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/1.296, allocations: 1.121 MB / 0.7288 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009433/1.297, allocations: 303.5 kB / 0.7291 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/1.299, allocations: 1.876 MB / 0.7309 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/1.301, allocations: 186.8 kB / 0.7311 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/1.301, allocations: 84.84 kB / 0.7311 GB, free: 114.2 MB / 458.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.0004168/1.301, allocations: 208.1 kB / 0.7313 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002807/1.304, allocations: 1.537 MB / 0.7328 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/1.304, allocations: 187.6 kB / 0.733 GB, free: 113.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003182/1.307, allocations: 1.844 MB / 0.7348 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/1.307, allocations: 13.91 kB / 0.7348 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.307, allocations: 0 / 0.7348 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/1.307, allocations: 10.25 kB / 0.7348 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007169/1.315, allocations: 4.299 MB / 0.739 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.315, allocations: 0 / 0.739 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000596/1.315, allocations: 166 kB / 0.7392 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001581/1.317, allocations: 1.024 MB / 0.7402 GB, free: 111.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.772e-05/1.317, allocations: 23.84 kB / 0.7402 GB, free: 111.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/1.319, allocations: 1.681 MB / 0.7419 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.319, allocations: 4 kB / 0.7419 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003544/1.323, allocations: 2.517 MB / 0.7443 GB, free: 108.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006743/1.323, allocations: 403.9 kB / 0.7447 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/1.324, allocations: 27.66 kB / 0.7447 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008642/1.325, allocations: 112.1 kB / 0.7448 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003822/1.325, allocations: 240.4 kB / 0.7451 GB, free: 108.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/1.325, allocations: 56.62 kB / 0.7451 GB, free: 108.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001156/1.326, allocations: 0.8429 MB / 0.746 GB, free: 108.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.3e-07/1.326, allocations: 0 / 0.746 GB, free: 108.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001433/1.328, allocations: 394.5 kB / 0.7463 GB, free: 108.1 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.003846/1.332, allocations: 3.52 MB / 0.7498 GB, free: 105.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00246/1.334, allocations: 1.57 MB / 0.7513 GB, free: 105.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.334, allocations: 0 / 0.7513 GB, free: 105.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/1.335, allocations: 0.7893 MB / 0.7521 GB, free: 104.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/1.337, allocations: 242.8 kB / 0.7523 GB, free: 104.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008205/1.345, allocations: 3.588 MB / 0.7558 GB, free: 103.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.346, allocations: 1.654 MB / 0.7574 GB, free: 102.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008085/1.347, allocations: 246.3 kB / 0.7577 GB, free: 102.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008747/1.348, allocations: 0.9644 MB / 0.7586 GB, free: 101.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.132e-06/1.348, allocations: 0 / 0.7586 GB, free: 101.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07768/1.426, allocations: 40.58 MB / 0.7982 GB, free: 74.95 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/1.426, allocations: 151.2 kB / 0.7984 GB, free: 74.76 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.03/4.456, allocations: 10.28 kB / 0.7984 GB, free: 74.75 MB / 458.7 MB (rm -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Examples_ConventionalVehicle_AltNames_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Examples_ConventionalVehicle_AltNames.fmu > VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe 2>&1)