Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.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/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 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: "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckContactCalculation,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckContactCalculation,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001449/0.001449, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.1818/0.1818, allocations: 7.958 MB / 298.9 MB, free: 3.32 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003134, allocations: 8 kB / 361.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1064, allocations: 52.2 MB / 413.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.008331/0.1148, allocations: 7.74 MB / 421.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004986/0.1198, allocations: 2.451 MB / 424.1 MB, free: 80 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008386/0.1207, allocations: 31.94 kB / 424.1 MB, free: 48 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2158/0.3365, allocations: 336.8 kB / 424.5 MB, free: 33.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003496/0.34, allocations: 1.194 MB / 425.7 MB, free: 33.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.3404, allocations: 97.97 kB / 425.8 MB, free: 33.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.3417, allocations: 0.9398 MB / 426.7 MB, free: 33.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004462/0.3422, allocations: 378.9 kB / 427.1 MB, free: 33.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004742/0.3427, allocations: 444.1 kB / 427.5 MB, free: 33.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006422/0.3433, allocations: 0.6213 MB / 428.1 MB, free: 33.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.3435, allocations: 58.94 kB / 428.2 MB, free: 33.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006082/0.3441, allocations: 342.8 kB / 428.5 MB, free: 33.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004539/0.3446, allocations: 0.6344 MB / 429.2 MB, free: 33.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.3448, allocations: 383.9 kB / 429.5 MB, free: 33.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.3464, allocations: 2.116 MB / 431.7 MB, free: 33.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3465, allocations: 0 / 431.7 MB, free: 33.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3465, allocations: 0 / 431.7 MB, free: 33.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.914e-05/0.3465, allocations: 0 / 431.7 MB, free: 33.64 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 754 * Number of variables: 754 Notification: Performance of Generate backend data structure: time 0.002334/0.3489, allocations: 1.801 MB / 433.5 MB, free: 32.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3489, allocations: 9.812 kB / 433.5 MB, free: 32.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003608/0.3493, allocations: 368.6 kB / 433.8 MB, free: 32.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006934/0.3562, allocations: 2.061 MB / 435.9 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/0.3583, allocations: 0.877 MB / 436.8 MB, free: 32.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.759e-05/0.3583, allocations: 81.7 kB / 436.8 MB, free: 32.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/0.3586, allocations: 104.8 kB / 436.9 MB, free: 32.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006376/0.365, allocations: 5.098 MB / 442 MB, free: 30.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.155e-05/0.3651, allocations: 18.09 kB / 442.1 MB, free: 30.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/0.3653, allocations: 62.55 kB / 442.1 MB, free: 30.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002172/0.3675, allocations: 1.244 MB / 443.4 MB, free: 30.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006872/0.3744, allocations: 4.474 MB / 447.8 MB, free: 30.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01934/0.3938, allocations: 20.67 MB / 468.5 MB, free: 31.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.396, allocations: 1.676 MB / 470.2 MB, free: 30.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.3961, allocations: 85.95 kB / 470.3 MB, free: 30.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.3962, allocations: 41.94 kB / 470.3 MB, free: 30 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.326e-06/0.3962, allocations: 0 / 470.3 MB, free: 30 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.06175/0.458, allocations: 12.91 MB / 483.2 MB, free: 26.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.303e-05/0.4581, allocations: 140.2 kB / 483.3 MB, free: 26.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003212/0.4613, allocations: 2.393 MB / 485.7 MB, free: 24.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001654/0.4615, allocations: 38.48 kB / 485.8 MB, free: 24.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000866/0.4624, allocations: 1.732 MB / 487.5 MB, free: 23.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003354/0.4627, allocations: 389.6 kB / 487.9 MB, free: 22.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.4628, allocations: 78.64 kB / 488 MB, free: 22.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002929/0.4631, allocations: 0.5288 MB / 488.5 MB, free: 22.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/0.465, allocations: 1.335 MB / 489.8 MB, free: 21.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00306/0.468, allocations: 3.922 MB / 493.8 MB, free: 17.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/0.4709, allocations: 2.22 MB / 496 MB, free: 15.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.671e-05/0.4709, allocations: 28 kB / 496 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.00815/0.4791, allocations: 5.343 MB / 0.4896 GB, free: 10.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.171e-05/0.4792, allocations: 44 kB / 0.4896 GB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001275/0.4793, allocations: 92.84 kB / 0.4897 GB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00439/0.4837, allocations: 1.476 MB / 0.4912 GB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002717/0.4865, allocations: 0.8733 MB / 0.492 GB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002704/0.4892, allocations: 1.903 MB / 0.4939 GB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003483/0.4927, allocations: 0.5924 MB / 0.4945 GB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005177/0.4932, allocations: 249.9 kB / 0.4947 GB, free: 5.344 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * Number of states: 0 () * Number of discrete variables: 12 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 471 * Array equations: 4 * 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 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.00189/0.4951, allocations: 1.165 MB / 0.4958 GB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003256/0.4955, allocations: 193.5 kB / 0.496 GB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004561/0.5, allocations: 1.899 MB / 0.4979 GB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006331/0.5007, allocations: 123.8 kB / 0.498 GB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.105e-05/0.5007, allocations: 5.312 kB / 0.498 GB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.5007, allocations: 7.938 kB / 0.498 GB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00898/0.5097, allocations: 3.846 MB / 0.5018 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.5098, allocations: 1.031 kB / 0.5018 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.5102, allocations: 89.7 kB / 0.5018 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004018/0.5142, allocations: 1.346 MB / 0.5032 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.46e-05/0.5143, allocations: 25.11 kB / 0.5032 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.5168, allocations: 1.738 MB / 0.5049 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.5168, allocations: 0 / 0.5049 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0038/0.5206, allocations: 2.347 MB / 0.5072 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009704/0.5216, allocations: 402.2 kB / 0.5076 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/0.5218, allocations: 11.98 kB / 0.5076 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008266/0.5227, allocations: 63.73 kB / 0.5076 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.208e-05/0.5228, allocations: 43.88 kB / 0.5077 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.032e-05/0.5229, allocations: 24.66 kB / 0.5077 GB, free: 7.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002391/0.5253, allocations: 1.478 MB / 0.5091 GB, free: 6.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5253, allocations: 0 / 0.5091 GB, free: 6.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003101/0.5284, allocations: 0.5889 MB / 0.5097 GB, free: 5.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 48 * Array equations: 4 * 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 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.004465/0.5329, allocations: 3.178 MB / 0.5128 GB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005425/0.5383, allocations: 3.037 MB / 0.5158 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.5384, allocations: 0 / 0.5158 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.5397, allocations: 0.7583 MB / 0.5165 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.5408, allocations: 166.4 kB / 0.5167 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2297/0.7705, allocations: 81.05 MB / 0.5958 GB, free: 102.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/0.7719, allocations: 1.895 MB / 0.5977 GB, free: 102.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002664/0.7745, allocations: 1.269 MB / 0.5989 GB, free: 102.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009821/0.7755, allocations: 0.7894 MB / 0.5997 GB, free: 102.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.273e-06/0.7756, allocations: 1.875 kB / 0.5997 GB, free: 102.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07355/0.8491, allocations: 43.89 MB / 0.6425 GB, free: 86.21 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/0.8493, allocations: 221.7 kB / 0.6428 GB, free: 85.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/3.637, allocations: 3.094 kB / 0.6428 GB, free: 85.97 MB / 446.1 MB (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation_fmu --startTime=0 --stopTime=6.2 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1) Environment - environmentSimulation: