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.001182/0.001182, allocations: 174.8 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.468/1.468, 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.0008938/0.0008934, allocations: 89.05 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.04051/0.04051, allocations: 7.829 MB / 344.3 MB, free: 2.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.643e-05/3.645e-05, allocations: 3.984 kB / 404.5 MB, free: 62.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1219, allocations: 52.21 MB / 456.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4665/0.5884, allocations: 107.2 MB / 0.5507 GB, free: 12.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.5887, allocations: 82.66 kB / 0.5508 GB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6801/1.269, allocations: 155.7 MB / 0.7028 GB, free: 116.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.269, allocations: 0 / 0.7028 GB, free: 116.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004752/1.269, allocations: 82.75 kB / 0.7029 GB, free: 116.9 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.007424/1.277, allocations: 2.411 MB / 0.7053 GB, free: 115.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/1.277, allocations: 7.594 kB / 0.7053 GB, free: 115.5 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00131/1.278, allocations: 347.2 kB / 0.7056 GB, free: 115.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/1.28, allocations: 365.1 kB / 0.706 GB, free: 115.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004527/1.285, allocations: 1.744 MB / 0.7077 GB, free: 114.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/1.285, allocations: 192.6 kB / 0.7078 GB, free: 114.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008508/1.286, allocations: 263 kB / 0.7081 GB, free: 113.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006913/1.293, allocations: 2.858 MB / 0.7109 GB, free: 111.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000251/1.293, allocations: 35.8 kB / 0.7109 GB, free: 111.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004961/1.293, allocations: 111.6 kB / 0.711 GB, free: 111.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/1.293, allocations: 97.22 kB / 0.7111 GB, free: 111.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00378/1.297, allocations: 1.836 MB / 0.7129 GB, free: 110.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01318/1.31, allocations: 11.35 MB / 0.724 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/1.312, allocations: 1.016 MB / 0.725 GB, free: 99.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007728/1.313, allocations: 0.6026 MB / 0.7256 GB, free: 98.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/1.313, allocations: 19.5 kB / 0.7256 GB, free: 98.71 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/1.313, allocations: 47.56 kB / 0.7256 GB, free: 98.66 MB / 458.7 MB Notification: Performance of pre-optimization done (n=116): time 2.926e-06/1.313, allocations: 3.938 kB / 0.7256 GB, free: 98.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=142): time 0.007161/1.32, allocations: 4.582 MB / 0.7301 GB, free: 94.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/1.32, allocations: 98.45 kB / 0.7302 GB, free: 93.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/1.322, allocations: 1.592 MB / 0.7318 GB, free: 92.28 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/1.322, allocations: 69.69 kB / 0.7318 GB, free: 92.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008477/1.323, allocations: 1.229 MB / 0.733 GB, free: 90.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002992/1.323, allocations: 479.2 kB / 0.7335 GB, free: 90.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.544e-05/1.324, allocations: 36 kB / 0.7335 GB, free: 90.47 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/1.324, allocations: 377.9 kB / 0.7339 GB, free: 90.09 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008595/1.325, allocations: 0.5859 MB / 0.7345 GB, free: 89.51 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/1.326, allocations: 1.141 MB / 0.7356 GB, free: 88.13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008712/1.326, allocations: 0.6475 MB / 0.7362 GB, free: 87.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/1.326, allocations: 4 kB / 0.7362 GB, free: 87.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.003312/1.33, allocations: 2.291 MB / 0.7384 GB, free: 85.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/1.33, allocations: 12 kB / 0.7385 GB, free: 85.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-05/1.33, allocations: 23.95 kB / 0.7385 GB, free: 85.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/1.332, allocations: 1.135 MB / 0.7396 GB, free: 84.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008825/1.333, allocations: 307.5 kB / 0.7399 GB, free: 83.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/1.335, allocations: 1.718 MB / 0.7416 GB, free: 82.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/1.336, allocations: 227.7 kB / 0.7418 GB, free: 81.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/1.336, allocations: 89.92 kB / 0.7419 GB, free: 81.71 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.0003139/1.337, allocations: 259.8 kB / 0.7421 GB, free: 81.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/1.337, allocations: 213.3 kB / 0.7423 GB, free: 81.24 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003191/1.34, allocations: 1.974 MB / 0.7442 GB, free: 79.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/1.34, allocations: 14.69 kB / 0.7443 GB, free: 79.23 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.34, allocations: 0 / 0.7443 GB, free: 79.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/1.34, allocations: 7.938 kB / 0.7443 GB, free: 79.22 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006865/1.347, allocations: 4.7 MB / 0.7489 GB, free: 74.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.347, allocations: 0 / 0.7489 GB, free: 74.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006011/1.348, allocations: 159.8 kB / 0.749 GB, free: 74.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/1.349, allocations: 1.04 MB / 0.75 GB, free: 73.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/1.349, allocations: 47.89 kB / 0.7501 GB, free: 73.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/1.351, allocations: 1.547 MB / 0.7516 GB, free: 71.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.351, allocations: 4 kB / 0.7516 GB, free: 71.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003632/1.355, allocations: 2.667 MB / 0.7542 GB, free: 68.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008204/1.356, allocations: 442.1 kB / 0.7546 GB, free: 68.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004335/1.356, allocations: 63.92 kB / 0.7547 GB, free: 68.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/1.357, allocations: 127.9 kB / 0.7548 GB, free: 68.29 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004326/1.358, allocations: 248.8 kB / 0.755 GB, free: 68.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/1.358, allocations: 55.95 kB / 0.7551 GB, free: 67.99 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00214/1.36, allocations: 1.204 MB / 0.7563 GB, free: 66.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.36, allocations: 0 / 0.7563 GB, free: 66.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001766/1.362, allocations: 448 kB / 0.7567 GB, free: 66.33 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.004355/1.366, allocations: 3.684 MB / 0.7603 GB, free: 62.58 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002812/1.369, allocations: 1.676 MB / 0.7619 GB, free: 60.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.369, allocations: 0 / 0.7619 GB, free: 60.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001538/1.371, allocations: 0.8215 MB / 0.7627 GB, free: 60.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/1.372, allocations: 295.5 kB / 0.763 GB, free: 59.79 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009847/1.382, allocations: 3.751 MB / 0.7667 GB, free: 55.97 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001757/1.384, allocations: 1.653 MB / 0.7683 GB, free: 54.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001096/1.385, allocations: 281.8 kB / 0.7686 GB, free: 54.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/1.386, allocations: 0.9757 MB / 0.7695 GB, free: 53.05 MB / 458.7 MB Notification: Performance of SimCode: time 8.41e-07/1.386, allocations: 0 / 0.7695 GB, free: 53.05 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09878/1.485, allocations: 46.04 MB / 0.8145 GB, free: 7.613 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/1.485, allocations: 195.4 kB / 0.8147 GB, free: 7.383 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.325/4.81, allocations: 0 / 0.8147 GB, free: 7.383 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)