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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 110.7 kB / 16.42 MB, free: 6.465 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.001651/0.001651, allocations: 187.9 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04463/0.04463, allocations: 8.007 MB / 299.2 MB, free: 7.129 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 413.8 MB, free: 22.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.0997, allocations: 51.21 MB / 465 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalManualVehicle): time 0.02435/0.1241, allocations: 22.93 MB / 487.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01597/0.1401, allocations: 6.176 MB / 494.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005768/0.1459, allocations: 179.4 kB / 494.2 MB, free: 6.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003121/0.1491, allocations: 0.9305 MB / 495.2 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003752/0.1529, allocations: 0.8098 MB / 496 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009735/0.1626, allocations: 4.482 MB / 0.4887 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006741/0.1694, allocations: 3.898 MB / 0.4925 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008802/0.1782, allocations: 4.167 MB / 0.4966 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003809/0.182, allocations: 1.569 MB / 0.4981 GB, free: 6.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003167/0.1852, allocations: 1.716 MB / 0.4998 GB, free: 4.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001498/0.1867, allocations: 412 kB / 0.5002 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.1885, allocations: 471.9 kB / 0.5007 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001452/0.19, allocations: 0.9074 MB / 0.5015 GB, free: 2.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003585/0.1936, allocations: 1.765 MB / 0.5033 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2863/0.4799, allocations: 4.54 MB / 0.5077 GB, free: 15.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.4799, allocations: 1.688 kB / 0.5077 GB, free: 15.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4799, allocations: 3.094 kB / 0.5077 GB, free: 15.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000208/0.4801, allocations: 0 / 0.5077 GB, free: 15.8 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.009589/0.4897, allocations: 3.504 MB / 0.5111 GB, free: 14.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.4898, allocations: 9.531 kB / 0.5111 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007861/0.4906, allocations: 353 kB / 0.5115 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003157/0.4937, allocations: 1.857 MB / 0.5133 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003406/0.4941, allocations: 356.8 kB / 0.5136 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004852/0.4946, allocations: 280.9 kB / 0.5139 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007428/0.502, allocations: 3.013 MB / 0.5168 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001519/0.5022, allocations: 27.17 kB / 0.5169 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003239/0.5026, allocations: 112 kB / 0.517 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003114/0.5029, allocations: 127.3 kB / 0.5171 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00577/0.5087, allocations: 2.339 MB / 0.5194 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01558/0.5243, allocations: 11.26 MB / 0.5304 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.5263, allocations: 1.106 MB / 0.5315 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.5275, allocations: 0.7475 MB / 0.5322 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.277e-05/0.5276, allocations: 19.16 kB / 0.5322 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.5276, allocations: 45.91 kB / 0.5322 GB, free: 5.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 4.027e-06/0.5277, allocations: 0 / 0.5322 GB, free: 5.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=161): time 0.01504/0.5427, allocations: 7.886 MB / 0.5399 GB, free: 1.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.5428, allocations: 121.8 kB / 0.5401 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/0.5453, allocations: 2.016 MB / 0.542 GB, free: 15.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.5455, allocations: 83.56 kB / 0.5421 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.5467, allocations: 1.455 MB / 0.5435 GB, free: 14.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004685/0.5472, allocations: 0.5558 MB / 0.5441 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007772/0.548, allocations: 0.5156 MB / 0.5446 GB, free: 13.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5481, allocations: 301.1 kB / 0.5449 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/0.5497, allocations: 0.9066 MB / 0.5458 GB, free: 12.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/0.552, allocations: 1.906 MB / 0.5476 GB, free: 10.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003853/0.5559, allocations: 2.615 MB / 0.5502 GB, free: 7.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/0.5559, allocations: 8 kB / 0.5502 GB, free: 7.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.006099/0.562, allocations: 3.385 MB / 0.5535 GB, free: 4.488 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.5621, allocations: 16 kB / 0.5535 GB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.034e-05/0.5621, allocations: 36 kB / 0.5535 GB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002552/0.5647, allocations: 1.646 MB / 0.5551 GB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.5663, allocations: 0.5068 MB / 0.5556 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002825/0.5691, allocations: 1.951 MB / 0.5575 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/0.5718, allocations: 259.5 kB / 0.5578 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002528/0.572, allocations: 132 kB / 0.5579 GB, free: 4 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 151 * Number of states: 0 () * Number of discrete variables: 66 (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,transmission.clutch.mode,$PRE.transmission.clutch.mode,transmission.clutch.startBackward,$PRE.transmission.clutch.startBackward,transmission.clutch.startForward,$PRE.transmission.clutch.startForward,transmission.clutch.free,controlBus.transmissionBus.clutchLocked,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],controlBus.transmissionControlBus.currentGear,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 (290): * Single equations (assignments): 289 * 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 {(5,46)} Notification: Performance of prepare postOptimizeDAE: time 0.001709/0.5737, allocations: 0.6921 MB / 0.5586 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008715/0.5746, allocations: 237 kB / 0.5588 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004587/0.5792, allocations: 2.086 MB / 0.5608 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.143e-05/0.5793, allocations: 11.91 kB / 0.5609 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.5793, allocations: 0 / 0.5609 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/0.5805, allocations: 0.49 MB / 0.5613 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006487/0.5812, allocations: 60 kB / 0.5614 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/0.583, allocations: 178.2 kB / 0.5616 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005393/0.5835, allocations: 244.4 kB / 0.5618 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005642/0.5892, allocations: 2.329 MB / 0.5641 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005722/0.5949, allocations: 2.933 MB / 0.5669 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001632/0.5966, allocations: 0.8327 MB / 0.5678 GB, free: 5.941 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003148/0.5997, allocations: 1.288 MB / 0.569 GB, free: 4.641 MB / 414.1 MB Notification: Performance of Backend: time 3.61e-07/0.5998, allocations: 0 / 0.569 GB, free: 4.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005497/0.6053, allocations: 1.743 MB / 0.5707 GB, free: 3 MB / 414.1 MB Notification: Performance of SimCode: time 0.01062/0.6159, allocations: 5.479 MB / 0.5761 GB, free: 13.5 MB / 430.1 MB Notification: Performance of Templates: time 0.06732/0.6833, allocations: 34.88 MB / 0.6101 GB, free: 10.86 MB / 462.1 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)