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.0-master/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.0-master/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: translateModel(VehicleInterfaces.Examples.ConventionalVehicle_AltNames,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames") translateModel(VehicleInterfaces.Examples.ConventionalVehicle_AltNames,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008875/0.0008877, allocations: 176 kB / 16.12 MB, free: 5.691 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.195/1.195, allocations: 223.3 MB / 240.1 MB, free: 11.71 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.0007243/0.0007244, allocations: 101.9 kB / 291.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.0-master/package.mo): time 0.03747/0.03747, allocations: 7.997 MB / 350.4 MB, free: 24 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003168, allocations: 12 kB / 413.3 MB, free: 58.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06841/0.06874, allocations: 52.2 MB / 465.5 MB, free: 5.91 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2676/0.3363, allocations: 107.2 MB / 0.5592 GB, free: 11.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.3366, allocations: 96.5 kB / 0.5593 GB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4847/0.8214, allocations: 155.8 MB / 0.7114 GB, free: 113.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.8214, allocations: 0 / 0.7114 GB, free: 113.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000158/0.8216, allocations: 78.64 kB / 0.7115 GB, free: 113.2 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.003638/0.8252, allocations: 2.647 MB / 0.7141 GB, free: 110.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.8253, allocations: 8.031 kB / 0.7141 GB, free: 110.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005954/0.8259, allocations: 360.9 kB / 0.7144 GB, free: 110.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.8281, allocations: 1.818 MB / 0.7162 GB, free: 109.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.683e-05/0.8282, allocations: 188.6 kB / 0.7164 GB, free: 109 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/0.8285, allocations: 268.5 kB / 0.7166 GB, free: 108.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003621/0.8322, allocations: 2.95 MB / 0.7195 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.111e-05/0.8323, allocations: 27.17 kB / 0.7195 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/0.8325, allocations: 114.8 kB / 0.7196 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.936e-05/0.8325, allocations: 92.45 kB / 0.7197 GB, free: 106.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002977/0.8355, allocations: 1.93 MB / 0.7216 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/0.8461, allocations: 11.36 MB / 0.7327 GB, free: 94.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.8476, allocations: 1.054 MB / 0.7337 GB, free: 93.63 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008443/0.8484, allocations: 0.6339 MB / 0.7344 GB, free: 93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.553e-05/0.8485, allocations: 23.28 kB / 0.7344 GB, free: 92.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.8486, allocations: 47.55 kB / 0.7344 GB, free: 92.92 MB / 458.7 MB Notification: Performance of pre-optimization done (n=116): time 3.427e-06/0.8486, allocations: 0 / 0.7344 GB, free: 92.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=142): time 0.009301/0.8579, allocations: 5.969 MB / 0.7402 GB, free: 86.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.8579, allocations: 94.41 kB / 0.7403 GB, free: 86.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.8598, allocations: 1.855 MB / 0.7421 GB, free: 84.83 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.8599, allocations: 73.72 kB / 0.7422 GB, free: 84.75 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006427/0.8606, allocations: 1.226 MB / 0.7434 GB, free: 83.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.8608, allocations: 481.8 kB / 0.7439 GB, free: 83.05 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.999e-05/0.8609, allocations: 40 kB / 0.7439 GB, free: 83.01 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.861, allocations: 369.9 kB / 0.7443 GB, free: 82.64 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009392/0.8619, allocations: 0.6247 MB / 0.7449 GB, free: 82.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.8631, allocations: 1.179 MB / 0.746 GB, free: 80.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.8648, allocations: 1.66 MB / 0.7476 GB, free: 78.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.8648, allocations: 4 kB / 0.7477 GB, free: 78.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.003349/0.8682, allocations: 2.352 MB / 0.7499 GB, free: 76.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.8682, allocations: 14.66 kB / 0.75 GB, free: 76.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-05/0.8683, allocations: 28.08 kB / 0.75 GB, free: 76.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/0.8699, allocations: 1.173 MB / 0.7511 GB, free: 75.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008282/0.8708, allocations: 295.5 kB / 0.7514 GB, free: 74.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.8727, allocations: 1.742 MB / 0.7531 GB, free: 73.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.874, allocations: 215.9 kB / 0.7533 GB, free: 72.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.8741, allocations: 91.98 kB / 0.7534 GB, free: 72.82 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 () * 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.001009/0.8751, allocations: 0.5981 MB / 0.754 GB, free: 72.22 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/0.8754, allocations: 221.1 kB / 0.7542 GB, free: 72 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/0.8785, allocations: 2.025 MB / 0.7562 GB, free: 69.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.8785, allocations: 15.94 kB / 0.7562 GB, free: 69.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.8785, allocations: 2.688 kB / 0.7562 GB, free: 69.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.8785, allocations: 14.97 kB / 0.7562 GB, free: 69.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006666/0.8852, allocations: 4.746 MB / 0.7609 GB, free: 65.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/0.8852, allocations: 4 kB / 0.7609 GB, free: 65.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005307/0.8858, allocations: 151.8 kB / 0.761 GB, free: 64.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001559/0.8873, allocations: 1.074 MB / 0.762 GB, free: 63.92 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-05/0.8874, allocations: 47.94 kB / 0.7621 GB, free: 63.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.8892, allocations: 1.551 MB / 0.7636 GB, free: 62.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8892, allocations: 0 / 0.7636 GB, free: 62.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003684/0.8929, allocations: 2.658 MB / 0.7662 GB, free: 59.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006576/0.8936, allocations: 442.2 kB / 0.7666 GB, free: 59.14 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003422/0.894, allocations: 48 kB / 0.7667 GB, free: 59.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009527/0.8949, allocations: 134.3 kB / 0.7668 GB, free: 58.97 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003727/0.8953, allocations: 248.7 kB / 0.767 GB, free: 58.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.8954, allocations: 55.95 kB / 0.7671 GB, free: 58.67 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001581/0.897, allocations: 1.226 MB / 0.7683 GB, free: 57.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.897, allocations: 3.938 kB / 0.7683 GB, free: 57.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001305/0.8983, allocations: 463.9 kB / 0.7687 GB, free: 56.97 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) * 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.0002823/0.8986, allocations: 184.9 kB / 0.7689 GB, free: 56.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00264/0.9013, allocations: 1.74 MB / 0.7706 GB, free: 55.03 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9013, allocations: 0 / 0.7706 GB, free: 55.03 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001478/0.9028, allocations: 0.8609 MB / 0.7715 GB, free: 54.17 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.9046, allocations: 308.8 kB / 0.7717 GB, free: 53.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007294/0.9119, allocations: 5.243 MB / 0.7769 GB, free: 48.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.913, allocations: 1.605 MB / 0.7784 GB, free: 46.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008751/0.9139, allocations: 279 kB / 0.7787 GB, free: 46.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.9142, allocations: 111.4 kB / 0.7788 GB, free: 46.59 MB / 458.7 MB Notification: Performance of SimCode: time 9.81e-07/0.9142, allocations: 0 / 0.7788 GB, free: 46.59 MB / 458.7 MB Notification: Performance of Templates: time 0.03619/0.9504, allocations: 26.56 MB / 0.8047 GB, free: 20.32 MB / 458.7 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.makefile (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 & ./VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe 2>&1)