Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.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: translateModel(VehicleInterfaces.Examples.ConventionalManualVehicle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle") translateModel(VehicleInterfaces.Examples.ConventionalManualVehicle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001473, allocations: 182.9 kB / 7.457 MB, free: 1.555 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 221.4 MB / 229.3 MB, free: 8.398 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009352/0.0009353, allocations: 102.4 kB / 280.1 MB, free: 7.816 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.04029/0.04029, allocations: 7.831 MB / 338.7 MB, free: 13.29 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 5.32e-06/5.35e-06, allocations: 0 / 396.9 MB, free: 59.49 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09074/0.09076, allocations: 52.21 MB / 449.2 MB, free: 7.332 MB / 290.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3711/0.4619, allocations: 109.9 MB / 0.5459 GB, free: 4.922 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.4621, allocations: 80.03 kB / 0.546 GB, free: 4.891 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.5144/0.9766, allocations: 126.5 MB / 0.6695 GB, free: 97.75 MB / 450.8 MB Notification: Performance of Transformations before backend: time 0.0002108/0.9768, allocations: 91.42 kB / 0.6696 GB, free: 97.74 MB / 450.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.005414/0.9823, allocations: 2.745 MB / 0.6723 GB, free: 96.59 MB / 450.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.9823, allocations: 10.03 kB / 0.6723 GB, free: 96.59 MB / 450.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.9834, allocations: 388.2 kB / 0.6727 GB, free: 96.41 MB / 450.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/0.9867, allocations: 1.875 MB / 0.6745 GB, free: 95.94 MB / 450.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002509/0.987, allocations: 274.5 kB / 0.6748 GB, free: 95.77 MB / 450.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003576/0.9874, allocations: 174.5 kB / 0.6749 GB, free: 95.77 MB / 450.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00344/0.9908, allocations: 1.941 MB / 0.6768 GB, free: 95.75 MB / 450.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004149/0.995, allocations: 2.747 MB / 0.6795 GB, free: 95.04 MB / 450.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001178/0.9951, allocations: 29.48 kB / 0.6795 GB, free: 95.03 MB / 450.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002121/0.9953, allocations: 7.812 kB / 0.6795 GB, free: 95.03 MB / 450.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.9955, allocations: 111.7 kB / 0.6797 GB, free: 95.03 MB / 450.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01945/1.015, allocations: 11.86 MB / 0.6912 GB, free: 89.94 MB / 450.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/1.017, allocations: 0.9222 MB / 0.6921 GB, free: 89.86 MB / 450.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/1.018, allocations: 0.7112 MB / 0.6928 GB, free: 89.83 MB / 450.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/1.018, allocations: 25.91 kB / 0.6929 GB, free: 89.83 MB / 450.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/1.018, allocations: 50.22 kB / 0.6929 GB, free: 89.79 MB / 450.8 MB Notification: Performance of pre-optimization done (n=149): time 4.538e-06/1.018, allocations: 1.562 kB / 0.6929 GB, free: 89.79 MB / 450.8 MB Notification: Performance of matching and sorting (n=179): time 0.01201/1.03, allocations: 5.735 MB / 0.6985 GB, free: 87.96 MB / 450.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/1.03, allocations: 125.6 kB / 0.6986 GB, free: 87.84 MB / 450.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/1.032, allocations: 1.325 MB / 0.6999 GB, free: 87.6 MB / 450.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001958/1.032, allocations: 52.52 kB / 0.7 GB, free: 87.57 MB / 450.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008332/1.033, allocations: 1.028 MB / 0.701 GB, free: 86.96 MB / 450.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005149/1.034, allocations: 0.5752 MB / 0.7015 GB, free: 86.61 MB / 450.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/1.034, allocations: 6.016 kB / 0.7015 GB, free: 86.6 MB / 450.8 MB Notification: Performance of setup shared object (initialization): time 0.0001465/1.034, allocations: 395.8 kB / 0.7019 GB, free: 86.3 MB / 450.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/1.035, allocations: 0.7154 MB / 0.7026 GB, free: 86.29 MB / 450.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/1.037, allocations: 1.368 MB / 0.704 GB, free: 85.5 MB / 450.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/1.039, allocations: 0.7984 MB / 0.7047 GB, free: 85.45 MB / 450.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/1.039, allocations: 6.188 kB / 0.7047 GB, free: 85.45 MB / 450.8 MB Notification: Performance of matching and sorting (n=297) (initialization): time 0.006074/1.045, allocations: 2.632 MB / 0.7073 GB, free: 84.39 MB / 450.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.045, allocations: 4.719 kB / 0.7073 GB, free: 84.39 MB / 450.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.451e-05/1.045, allocations: 24.44 kB / 0.7073 GB, free: 84.39 MB / 450.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002441/1.047, allocations: 1.327 MB / 0.7086 GB, free: 83.85 MB / 450.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/1.049, allocations: 417.5 kB / 0.709 GB, free: 83.57 MB / 450.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/1.052, allocations: 2.127 MB / 0.7111 GB, free: 81.43 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/1.054, allocations: 271.7 kB / 0.7114 GB, free: 81.16 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002174/1.054, allocations: 108 kB / 0.7115 GB, free: 81.05 MB / 450.8 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transmission.clutch.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_3.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: 95 * Number of states: 0 () * Number of discrete variables: 66 (driverEnvironment.ignition.y,transmission.clutch.free,$PRE.transmission.clutch.startForward,transmission.clutch.startForward,$PRE.transmission.clutch.startBackward,transmission.clutch.startBackward,$PRE.transmission.clutch.mode,transmission.clutch.mode,transmission.clutchLocked.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,transmission.shiftOutput.gear,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 (234): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {5 59} Notification: Performance of prepare postOptimizeDAE: time 0.00047/1.055, allocations: 225.6 kB / 0.7117 GB, free: 80.85 MB / 450.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000342/1.055, allocations: 223 kB / 0.7119 GB, free: 80.63 MB / 450.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00379/1.059, allocations: 2.26 MB / 0.7141 GB, free: 78.34 MB / 450.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/1.059, allocations: 20 kB / 0.7141 GB, free: 78.32 MB / 450.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.059, allocations: 3.906 kB / 0.7141 GB, free: 78.32 MB / 450.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/1.059, allocations: 11.97 kB / 0.7141 GB, free: 78.3 MB / 450.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009457/1.068, allocations: 5.14 MB / 0.7192 GB, free: 73.11 MB / 450.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.068, allocations: 0 / 0.7192 GB, free: 73.11 MB / 450.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009789/1.069, allocations: 236 kB / 0.7194 GB, free: 72.88 MB / 450.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001886/1.071, allocations: 1.216 MB / 0.7206 GB, free: 71.73 MB / 450.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/1.071, allocations: 35.94 kB / 0.7206 GB, free: 71.69 MB / 450.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002989/1.074, allocations: 1.891 MB / 0.7224 GB, free: 69.78 MB / 450.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.074, allocations: 4 kB / 0.7225 GB, free: 69.77 MB / 450.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005298/1.08, allocations: 3.139 MB / 0.7255 GB, free: 66.5 MB / 450.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/1.081, allocations: 474 kB / 0.726 GB, free: 66.02 MB / 450.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003831/1.081, allocations: 43.3 kB / 0.726 GB, free: 65.98 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/1.082, allocations: 183.8 kB / 0.7262 GB, free: 65.8 MB / 450.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005116/1.083, allocations: 306.7 kB / 0.7265 GB, free: 65.5 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/1.083, allocations: 67.94 kB / 0.7265 GB, free: 65.43 MB / 450.8 MB Notification: Performance of sort global known variables: time 0.00126/1.084, allocations: 0.9676 MB / 0.7275 GB, free: 64.45 MB / 450.8 MB Notification: Performance of remove unused functions: time 0.001818/1.086, allocations: 456 kB / 0.7279 GB, free: 64 MB / 450.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 10 (transmission.clutch.phi_rel,transmission.clutch.w_rel,chassis.body.s,chassis.dragForces.v_rel,driverEnvironment.acceleratorPosition.s,driverEnvironment.acceleratorPosition.v,driverEnvironment.clutchPosition.s,driverEnvironment.clutchPosition.v,driverEnvironment.brakePosition.s,driverEnvironment.brakePosition.v) * Number of discrete variables: 27 (transmission.clutch.free,transmission.clutch.startForward,transmission.clutch.startBackward,transmission.clutch.mode,transmission.clutchLocked.y,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,transmission.shiftOutput.gear) * Number of discrete states: 15 (transmission.clutch.mode,transmission.clutch.startForward,brakes.brake_2.mode,brakes.brake_2.startForward,brakes.brake_2.startBackward,brakes.brake_1.mode,brakes.brake_1.startForward,brakes.brake_1.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,transmission.clutch.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 118 * 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 {5 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003742/1.087, allocations: 195.6 kB / 0.7281 GB, free: 63.8 MB / 450.8 MB Notification: Performance of simCode: created initialization part: time 0.003144/1.09, allocations: 2.005 MB / 0.7301 GB, free: 61.77 MB / 450.8 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/1.09, allocations: 0 / 0.7301 GB, free: 61.77 MB / 450.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001964/1.092, allocations: 1.062 MB / 0.7311 GB, free: 60.71 MB / 450.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/1.093, allocations: 265.2 kB / 0.7314 GB, free: 60.46 MB / 450.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008527/1.102, allocations: 3.983 MB / 0.7352 GB, free: 56.45 MB / 450.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/1.103, allocations: 1.888 MB / 0.7371 GB, free: 54.54 MB / 450.8 MB Notification: Performance of SimCode: time 1.012e-06/1.103, allocations: 0 / 0.7371 GB, free: 54.54 MB / 450.8 MB Notification: Performance of Templates: time 0.04414/1.148, allocations: 30.18 MB / 0.7666 GB, free: 24.73 MB / 450.8 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.sim & ./VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.pipe 2>&1)