Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.conf.json 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/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/VehicleInterfaces 2.0.1-master/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(VehicleInterfaces.Examples.ConventionalAutomaticVehicle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle") translateModel(VehicleInterfaces.Examples.ConventionalAutomaticVehicle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.001369, allocations: 112.6 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 186.6 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04754/0.04754, allocations: 7.99 MB / 299.2 MB, free: 7.125 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 59.91 kB / 413.8 MB, free: 22.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1211, allocations: 51.21 MB / 465 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalAutomaticVehicle): time 0.02424/0.1454, allocations: 21.41 MB / 486.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01458/0.16, allocations: 5.735 MB / 492.1 MB, free: 8.371 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00611/0.1662, allocations: 167.5 kB / 492.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003472/0.1698, allocations: 0.8531 MB / 493.1 MB, free: 7.348 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003846/0.1736, allocations: 0.7052 MB / 493.8 MB, free: 6.637 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009396/0.1831, allocations: 4.283 MB / 498.1 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007416/0.1905, allocations: 3.274 MB / 0.4896 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007828/0.1983, allocations: 3.952 MB / 0.4935 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/0.2006, allocations: 1.339 MB / 0.4948 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0026/0.2033, allocations: 1.494 MB / 0.4963 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001258/0.2045, allocations: 360 kB / 0.4966 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.2058, allocations: 419.9 kB / 0.497 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009972/0.2068, allocations: 0.7983 MB / 0.4978 GB, free: 6.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002465/0.2093, allocations: 1.567 MB / 0.4993 GB, free: 5.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004614/0.2139, allocations: 3.999 MB / 0.5032 GB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2139, allocations: 0 / 0.5032 GB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2139, allocations: 0 / 0.5032 GB, free: 1.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001311/0.2141, allocations: 0 / 0.5032 GB, free: 1.043 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 640 * Number of variables: 640 Notification: Performance of Generate backend data structure: time 0.2461/0.4601, allocations: 3.086 MB / 0.5062 GB, free: 47.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4602, allocations: 12.86 kB / 0.5062 GB, free: 47.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004691/0.4607, allocations: 314.9 kB / 0.5065 GB, free: 47.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/0.4632, allocations: 1.691 MB / 0.5082 GB, free: 46.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.4633, allocations: 180.5 kB / 0.5084 GB, free: 46.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003604/0.4637, allocations: 256.4 kB / 0.5086 GB, free: 46.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004958/0.4686, allocations: 2.666 MB / 0.5112 GB, free: 44.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-05/0.4688, allocations: 28.55 kB / 0.5112 GB, free: 44.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/0.469, allocations: 100.8 kB / 0.5113 GB, free: 44.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000182/0.4692, allocations: 117.7 kB / 0.5115 GB, free: 44.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003741/0.4729, allocations: 1.963 MB / 0.5134 GB, free: 44.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01371/0.4866, allocations: 10.11 MB / 0.5232 GB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.4883, allocations: 0.9182 MB / 0.5241 GB, free: 36.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008807/0.4892, allocations: 0.5652 MB / 0.5247 GB, free: 36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.195e-05/0.4893, allocations: 17.61 kB / 0.5247 GB, free: 36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.4894, allocations: 47.75 kB / 0.5248 GB, free: 35.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 3.457e-06/0.4894, allocations: 0 / 0.5248 GB, free: 35.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.01109/0.5005, allocations: 5.642 MB / 0.5303 GB, free: 32.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.5005, allocations: 93.94 kB / 0.5304 GB, free: 32.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.5025, allocations: 1.894 MB / 0.5322 GB, free: 31.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.5027, allocations: 69.41 kB / 0.5323 GB, free: 31.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007247/0.5034, allocations: 1.342 MB / 0.5336 GB, free: 30.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.5036, allocations: 428.1 kB / 0.534 GB, free: 29.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004657/0.5041, allocations: 420.8 kB / 0.5344 GB, free: 29.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.151e-05/0.5042, allocations: 305.1 kB / 0.5347 GB, free: 28.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.5052, allocations: 0.6953 MB / 0.5354 GB, free: 28.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.5065, allocations: 1.584 MB / 0.5369 GB, free: 26.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.5086, allocations: 2.167 MB / 0.539 GB, free: 23.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.5086, allocations: 8 kB / 0.539 GB, free: 23.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004086/0.5127, allocations: 2.753 MB / 0.5417 GB, free: 20.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.5128, allocations: 16 kB / 0.5417 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.5128, allocations: 32 kB / 0.5418 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/0.5145, allocations: 1.341 MB / 0.5431 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.5156, allocations: 423.2 kB / 0.5435 GB, free: 19.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.5176, allocations: 1.718 MB / 0.5452 GB, free: 17.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.5193, allocations: 211.4 kB / 0.5454 GB, free: 17.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.5194, allocations: 108 kB / 0.5455 GB, free: 16.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 57 (controlBus.driverBus.ignition,brakes.brake_4.mode,$PRE.brakes.brake_4.mode,brakes.brake_4.locked,brakes.brake_4.startBackward,$PRE.brakes.brake_4.startBackward,brakes.brake_4.startForward,$PRE.brakes.brake_4.startForward,brakes.brake_4.free,brakes.brake_3.mode,$PRE.brakes.brake_3.mode,brakes.brake_3.locked,brakes.brake_3.startBackward,$PRE.brakes.brake_3.startBackward,brakes.brake_3.startForward,$PRE.brakes.brake_3.startForward,brakes.brake_3.free,brakes.brake_2.mode,$PRE.brakes.brake_2.mode,brakes.brake_2.locked,brakes.brake_2.startBackward,$PRE.brakes.brake_2.startBackward,brakes.brake_2.startForward,$PRE.brakes.brake_2.startForward,brakes.brake_2.free,brakes.brake_1.mode,$PRE.brakes.brake_1.mode,brakes.brake_1.locked,brakes.brake_1.startBackward,$PRE.brakes.brake_1.startBackward,brakes.brake_1.startForward,$PRE.brakes.brake_1.startForward,brakes.brake_1.free,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 (231): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,41)} Notification: Performance of prepare postOptimizeDAE: time 0.0009417/0.5203, allocations: 0.6252 MB / 0.5461 GB, free: 16.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/0.5206, allocations: 221.2 kB / 0.5463 GB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/0.5235, allocations: 1.746 MB / 0.548 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.5235, allocations: 3.984 kB / 0.548 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5235, allocations: 0 / 0.548 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005722/0.5241, allocations: 422.2 kB / 0.5484 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/0.5244, allocations: 52 kB / 0.5484 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.5255, allocations: 131.8 kB / 0.5486 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003427/0.5258, allocations: 188.7 kB / 0.5487 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003557/0.5294, allocations: 1.79 MB / 0.5505 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002865/0.5323, allocations: 2.259 MB / 0.5527 GB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00087/0.5332, allocations: 0.6247 MB / 0.5533 GB, free: 8.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001415/0.5346, allocations: 1.214 MB / 0.5545 GB, free: 7.66 MB / 382.1 MB Notification: Performance of Backend: time 2.71e-07/0.5346, allocations: 0 / 0.5545 GB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002839/0.5374, allocations: 1.405 MB / 0.5559 GB, free: 6.258 MB / 382.1 MB Notification: Performance of SimCode: time 0.005223/0.5427, allocations: 4.587 MB / 0.5603 GB, free: 1.629 MB / 382.1 MB Notification: Performance of Templates: time 0.05071/0.5934, allocations: 28.58 MB / 0.5883 GB, free: 5.195 MB / 414.1 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.sim & ./VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.pipe 2>&1)