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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 106.7 kB / 16.41 MB, free: 6.461 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.001134/0.001134, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04324/0.04324, allocations: 8.009 MB / 299.2 MB, free: 7.094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.91 kB / 413.8 MB, free: 22.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07611/0.07736, allocations: 51.21 MB / 465 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.02244/0.09983, allocations: 21.53 MB / 486.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.1109, allocations: 5.751 MB / 492.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003764/0.1147, allocations: 175.4 kB / 492.4 MB, free: 8.008 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002432/0.1171, allocations: 0.8648 MB / 493.3 MB, free: 7.137 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002554/0.1198, allocations: 0.713 MB / 494 MB, free: 6.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007914/0.1277, allocations: 4.29 MB / 498.3 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004371/0.1321, allocations: 3.282 MB / 0.4898 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006187/0.1383, allocations: 4.126 MB / 0.4939 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.1401, allocations: 1.374 MB / 0.4952 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002241/0.1423, allocations: 1.529 MB / 0.4967 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008545/0.1432, allocations: 368 kB / 0.497 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.1444, allocations: 435.9 kB / 0.4975 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.1455, allocations: 0.8218 MB / 0.4983 GB, free: 6.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002384/0.1479, allocations: 1.598 MB / 0.4998 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004966/0.1529, allocations: 4.118 MB / 0.5038 GB, free: 368 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1529, allocations: 0 / 0.5038 GB, free: 368 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1529, allocations: 0 / 0.5038 GB, free: 368 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.098e-05/0.153, allocations: 0 / 0.5038 GB, free: 368 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 667 * Number of variables: 667 Notification: Performance of Generate backend data structure: time 0.1847/0.3377, allocations: 3.235 MB / 0.507 GB, free: 47.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3377, allocations: 8.25 kB / 0.507 GB, free: 47.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004786/0.3382, allocations: 341.3 kB / 0.5073 GB, free: 47.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/0.3406, allocations: 1.737 MB / 0.509 GB, free: 46.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.3408, allocations: 186.2 kB / 0.5092 GB, free: 46.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003505/0.3411, allocations: 261.5 kB / 0.5095 GB, free: 46.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00405/0.3452, allocations: 2.749 MB / 0.5121 GB, free: 44.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.185e-05/0.3453, allocations: 23.41 kB / 0.5122 GB, free: 44.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/0.3455, allocations: 104.7 kB / 0.5123 GB, free: 44.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.3456, allocations: 119.4 kB / 0.5124 GB, free: 44.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003675/0.3493, allocations: 2.008 MB / 0.5143 GB, free: 44.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.3604, allocations: 10.33 MB / 0.5244 GB, free: 36.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.3619, allocations: 0.9239 MB / 0.5253 GB, free: 36.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008015/0.3627, allocations: 0.5624 MB / 0.5259 GB, free: 35.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.442e-05/0.3628, allocations: 20.02 kB / 0.5259 GB, free: 35.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.3628, allocations: 46.75 kB / 0.5259 GB, free: 35.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 3.697e-06/0.3628, allocations: 2.812 kB / 0.5259 GB, free: 35.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.01005/0.3729, allocations: 5.74 MB / 0.5316 GB, free: 32.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.3729, allocations: 97.89 kB / 0.5316 GB, free: 31.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.3748, allocations: 1.906 MB / 0.5335 GB, free: 30.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-05/0.3749, allocations: 65.7 kB / 0.5336 GB, free: 30.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006502/0.3756, allocations: 1.411 MB / 0.5349 GB, free: 29.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.3758, allocations: 451.9 kB / 0.5354 GB, free: 28.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004645/0.3763, allocations: 431.7 kB / 0.5358 GB, free: 28.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.523e-05/0.3763, allocations: 305.1 kB / 0.5361 GB, free: 28.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.3774, allocations: 0.6965 MB / 0.5368 GB, free: 27.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.3787, allocations: 1.586 MB / 0.5383 GB, free: 25.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002095/0.3808, allocations: 2.165 MB / 0.5404 GB, free: 22.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.3808, allocations: 16 kB / 0.5404 GB, free: 22.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004014/0.3848, allocations: 2.751 MB / 0.5431 GB, free: 19.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.3849, allocations: 23.94 kB / 0.5431 GB, free: 19.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.3849, allocations: 28 kB / 0.5432 GB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001844/0.3868, allocations: 1.345 MB / 0.5445 GB, free: 18.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.3879, allocations: 427.2 kB / 0.5449 GB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.3898, allocations: 1.705 MB / 0.5466 GB, free: 16.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.3915, allocations: 207.6 kB / 0.5468 GB, free: 16.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.3916, allocations: 112 kB / 0.5469 GB, free: 16.13 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.0009199/0.3925, allocations: 0.6407 MB / 0.5475 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.3928, allocations: 233.9 kB / 0.5477 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/0.3956, allocations: 1.738 MB / 0.5494 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.3956, allocations: 7.969 kB / 0.5494 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.3956, allocations: 0 / 0.5494 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005609/0.3962, allocations: 435.5 kB / 0.5498 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.3965, allocations: 48 kB / 0.5499 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.3975, allocations: 135.8 kB / 0.55 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003367/0.3978, allocations: 192.7 kB / 0.5502 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003343/0.4012, allocations: 1.792 MB / 0.5519 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002757/0.4039, allocations: 2.272 MB / 0.5542 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008635/0.4048, allocations: 0.6247 MB / 0.5548 GB, free: 7.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001388/0.4062, allocations: 1.226 MB / 0.556 GB, free: 6.75 MB / 382.1 MB Notification: Performance of Backend: time 3.61e-07/0.4062, allocations: 0 / 0.556 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00285/0.4091, allocations: 1.409 MB / 0.5573 GB, free: 5.344 MB / 382.1 MB Notification: Performance of SimCode: time 0.005728/0.4148, allocations: 4.744 MB / 0.562 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of Templates: time 0.0507/0.4655, allocations: 28.67 MB / 0.59 GB, free: 4.035 MB / 414.1 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)