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.008355/0.008355, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.344/1.344, allocations: 223.2 MB / 239 MB, free: 72 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008621/0.000862, allocations: 95.23 kB / 290.2 MB, free: 4.539 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03988/0.03988, allocations: 7.98 MB / 349.3 MB, free: 5.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003006, allocations: 11.98 kB / 412.1 MB, free: 6.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2329, allocations: 52.19 MB / 464.3 MB, free: 70.73 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3159/0.5488, allocations: 107 MB / 0.5579 GB, free: 92.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003495/0.5492, allocations: 92.17 kB / 0.558 GB, free: 92.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3573/0.9065, allocations: 155.8 MB / 0.7102 GB, free: 8.816 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.9066, allocations: 0 / 0.7102 GB, free: 8.816 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.00038/0.907, allocations: 79.97 kB / 0.7102 GB, free: 8.738 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: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.0084/0.9154, allocations: 2.666 MB / 0.7128 GB, free: 6.008 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/0.9155, allocations: 8.031 kB / 0.7129 GB, free: 6 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001364/0.9168, allocations: 358.8 kB / 0.7132 GB, free: 5.641 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.9185, allocations: 363.9 kB / 0.7135 GB, free: 5.281 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005259/0.9238, allocations: 1.752 MB / 0.7153 GB, free: 3.477 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002423/0.9241, allocations: 193 kB / 0.7154 GB, free: 3.285 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000932/0.925, allocations: 263.8 kB / 0.7157 GB, free: 3.027 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2745/1.2, allocations: 2.917 MB / 0.7185 GB, free: 115.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002346/1.2, allocations: 22.58 kB / 0.7186 GB, free: 115.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003419/1.2, allocations: 111.5 kB / 0.7187 GB, free: 115.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001713/1.2, allocations: 98.58 kB / 0.7188 GB, free: 115.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004202/1.205, allocations: 1.926 MB / 0.7206 GB, free: 115.1 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01208/1.217, allocations: 11.36 MB / 0.7317 GB, free: 110.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/1.218, allocations: 1.053 MB / 0.7328 GB, free: 110.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.719e-05/1.218, allocations: 17.83 kB / 0.7328 GB, free: 110.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/1.218, allocations: 49.95 kB / 0.7328 GB, free: 110.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 2.745e-06/1.218, allocations: 2.844 kB / 0.7328 GB, free: 110.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=142): time 0.01057/1.229, allocations: 5.951 MB / 0.7386 GB, free: 108.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/1.229, allocations: 97.08 kB / 0.7387 GB, free: 108.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/1.231, allocations: 1.613 MB / 0.7403 GB, free: 108.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001134/1.231, allocations: 74.78 kB / 0.7404 GB, free: 108.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008307/1.232, allocations: 1.232 MB / 0.7416 GB, free: 107.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002858/1.232, allocations: 480.1 kB / 0.742 GB, free: 107.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/1.232, allocations: 35.25 kB / 0.7421 GB, free: 107.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.825e-05/1.232, allocations: 380.2 kB / 0.7424 GB, free: 107.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009669/1.233, allocations: 0.6232 MB / 0.743 GB, free: 107.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/1.235, allocations: 1.173 MB / 0.7442 GB, free: 106.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/1.236, allocations: 0.6726 MB / 0.7449 GB, free: 106.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.567e-06/1.236, allocations: 7.219 kB / 0.7449 GB, free: 106.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.003606/1.239, allocations: 2.359 MB / 0.7472 GB, free: 106.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/1.239, allocations: 16.75 kB / 0.7472 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-05/1.239, allocations: 27.17 kB / 0.7472 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/1.241, allocations: 1.165 MB / 0.7483 GB, free: 106.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008602/1.242, allocations: 307.9 kB / 0.7486 GB, free: 106.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/1.244, allocations: 1.726 MB / 0.7503 GB, free: 105 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/1.246, allocations: 230.3 kB / 0.7505 GB, free: 104.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/1.246, allocations: 88.98 kB / 0.7506 GB, free: 104.9 MB / 442.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 () * Number of clocked 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.001573/1.248, allocations: 0.6008 MB / 0.7512 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/1.248, allocations: 212.9 kB / 0.7514 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003453/1.252, allocations: 2.02 MB / 0.7534 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/1.252, allocations: 20.78 kB / 0.7534 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.252, allocations: 0 / 0.7534 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/1.252, allocations: 11.14 kB / 0.7534 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008809/1.261, allocations: 4.738 MB / 0.758 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.261, allocations: 4.031 kB / 0.7581 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005883/1.261, allocations: 159.8 kB / 0.7582 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001719/1.263, allocations: 1.063 MB / 0.7592 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.489e-05/1.263, allocations: 50.38 kB / 0.7593 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/1.265, allocations: 1.554 MB / 0.7608 GB, free: 99.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.265, allocations: 3.375 kB / 0.7608 GB, free: 99.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003951/1.269, allocations: 2.749 MB / 0.7635 GB, free: 98.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007013/1.27, allocations: 447.5 kB / 0.7639 GB, free: 98.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/1.27, allocations: 62.39 kB / 0.764 GB, free: 98.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008786/1.271, allocations: 130.2 kB / 0.7641 GB, free: 98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003881/1.271, allocations: 244.3 kB / 0.7643 GB, free: 97.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.271, allocations: 56.59 kB / 0.7644 GB, free: 97.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001527/1.273, allocations: 1.225 MB / 0.7656 GB, free: 97.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.273, allocations: 4 kB / 0.7656 GB, free: 97.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001425/1.274, allocations: 453.6 kB / 0.766 GB, free: 97.41 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) * Number of clocked states: 0 () * 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.004371/1.279, allocations: 3.769 MB / 0.7697 GB, free: 94.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002707/1.281, allocations: 1.742 MB / 0.7714 GB, free: 92.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.281, allocations: 0 / 0.7714 GB, free: 92.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001501/1.283, allocations: 0.8602 MB / 0.7722 GB, free: 92.08 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/1.284, allocations: 290.1 kB / 0.7725 GB, free: 91.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02269/1.307, allocations: 26.39 MB / 0.7983 GB, free: 65.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/1.308, allocations: 1.649 MB / 0.7999 GB, free: 64.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008669/1.309, allocations: 278.2 kB / 0.8002 GB, free: 63.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009281/1.31, allocations: 0.9869 MB / 0.8011 GB, free: 62.98 MB / 442.7 MB Notification: Performance of SimCode: time 1.502e-06/1.31, allocations: 0 / 0.8011 GB, free: 62.98 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07947/1.389, allocations: 46.38 MB / 0.8464 GB, free: 23.72 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/1.39, allocations: 215.4 kB / 0.8466 GB, free: 23.48 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.67/5.06, allocations: 0 / 0.8466 GB, free: 23.48 MB / 442.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)