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-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: "" <> 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.004965/0.004965, allocations: 97.77 kB / 15.73 MB, free: 5.605 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.00104/0.00104, allocations: 192.5 kB / 16.67 MB, free: 5.527 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.243/1.243, allocations: 222.9 MB / 240.4 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.03938/0.03938, allocations: 8.003 MB / 298.5 MB, free: 7.109 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 63.89 kB / 412.6 MB, free: 23.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.08949, allocations: 51.22 MB / 463.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.006314/0.09585, allocations: 5.62 MB / 469.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.09931, allocations: 1.998 MB / 471.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006325/0.09997, allocations: 19.94 kB / 471.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.1011, allocations: 406.2 kB / 471.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.1027, allocations: 0.7379 MB / 472.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.103, allocations: 107.8 kB / 472.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001546/0.1045, allocations: 1.596 MB / 474.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003926/0.1049, allocations: 322.5 kB / 474.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004788/0.1054, allocations: 0.5174 MB / 475.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007617/0.1062, allocations: 0.7823 MB / 475.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.1063, allocations: 92 kB / 476 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005896/0.1069, allocations: 395.4 kB / 476.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004918/0.1074, allocations: 0.7205 MB / 477.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005983/0.108, allocations: 0.8846 MB / 478 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.1103, allocations: 2.866 MB / 480.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1103, allocations: 0 / 480.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1103, allocations: 0 / 480.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.159e-05/0.1104, allocations: 4 kB / 480.8 MB, free: 2.875 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.002758/0.1131, allocations: 2.202 MB / 483 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1132, allocations: 8.031 kB / 483 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003258/0.1135, allocations: 365.3 kB / 483.4 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006397/0.1199, allocations: 1.75 MB / 485.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.1215, allocations: 0.8938 MB / 486 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/0.1215, allocations: 82 kB / 486.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/0.1218, allocations: 103.9 kB / 486.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005465/0.1273, allocations: 5.111 MB / 491.3 MB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.1273, allocations: 27.75 kB / 491.4 MB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.1275, allocations: 59.91 kB / 491.4 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002204/0.1297, allocations: 1.244 MB / 492.7 MB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006065/0.1358, allocations: 4.484 MB / 497.2 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2246/0.3604, allocations: 20.63 MB / 0.5057 GB, free: 30.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/0.3627, allocations: 1.667 MB / 0.5073 GB, free: 29.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.3638, allocations: 0.7577 MB / 0.508 GB, free: 29.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.3639, allocations: 88.09 kB / 0.5081 GB, free: 29.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.364, allocations: 40.95 kB / 0.5081 GB, free: 29.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.327e-06/0.364, allocations: 0 / 0.5081 GB, free: 29.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.06185/0.4258, allocations: 12.58 MB / 0.5204 GB, free: 26.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.4259, allocations: 140.9 kB / 0.5206 GB, free: 26.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002918/0.4288, allocations: 2.412 MB / 0.5229 GB, free: 25.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.429, allocations: 37.45 kB / 0.523 GB, free: 25.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006948/0.4297, allocations: 1.809 MB / 0.5247 GB, free: 24.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.4299, allocations: 404.8 kB / 0.5251 GB, free: 23.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006795/0.4306, allocations: 0.8156 MB / 0.5259 GB, free: 23.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.669e-05/0.4307, allocations: 359.2 kB / 0.5262 GB, free: 23.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/0.4322, allocations: 1.346 MB / 0.5276 GB, free: 22.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/0.4348, allocations: 3.96 MB / 0.5314 GB, free: 18.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004575/0.4394, allocations: 5.677 MB / 0.537 GB, free: 12.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-05/0.4394, allocations: 29.81 kB / 0.537 GB, free: 12.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.05858/0.498, allocations: 14.62 MB / 0.5513 GB, free: 13.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.78e-05/0.4981, allocations: 54.91 kB / 0.5513 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.26e-05/0.4982, allocations: 92 kB / 0.5514 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004131/0.5024, allocations: 1.455 MB / 0.5528 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/0.5048, allocations: 0.8694 MB / 0.5537 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/0.5073, allocations: 1.904 MB / 0.5556 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002784/0.5101, allocations: 0.6039 MB / 0.5561 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003317/0.5105, allocations: 256 kB / 0.5564 GB, free: 8.281 MB / 398.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 (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 {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.001409/0.5119, allocations: 1.175 MB / 0.5575 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/0.5122, allocations: 202.6 kB / 0.5577 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004403/0.5166, allocations: 1.893 MB / 0.5596 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006364/0.5172, allocations: 127.8 kB / 0.5597 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.5172, allocations: 0 / 0.5597 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.465e-06/0.5173, allocations: 6.516 kB / 0.5597 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007904/0.5252, allocations: 3.85 MB / 0.5635 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.5252, allocations: 0 / 0.5635 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.5256, allocations: 87.88 kB / 0.5635 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00389/0.5295, allocations: 1.349 MB / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.25e-05/0.5296, allocations: 19.05 kB / 0.5649 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.5319, allocations: 1.738 MB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5319, allocations: 3.938 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003463/0.5353, allocations: 2.307 MB / 0.5688 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008167/0.5362, allocations: 403.4 kB / 0.5692 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.5364, allocations: 12 kB / 0.5692 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008139/0.5372, allocations: 67.33 kB / 0.5693 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.097e-05/0.5373, allocations: 35.95 kB / 0.5693 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.621e-05/0.5374, allocations: 27.98 kB / 0.5694 GB, free: 10.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001972/0.5393, allocations: 1.482 MB / 0.5708 GB, free: 9.398 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5394, allocations: 0 / 0.5708 GB, free: 9.398 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002875/0.5422, allocations: 0.5995 MB / 0.5714 GB, free: 8.805 MB / 414.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 (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 {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004084/0.5463, allocations: 2.966 MB / 0.5743 GB, free: 5.824 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005018/0.5514, allocations: 3.052 MB / 0.5773 GB, free: 2.801 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5514, allocations: 4 kB / 0.5773 GB, free: 2.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.5527, allocations: 0.7674 MB / 0.578 GB, free: 2.035 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.554, allocations: 183.5 kB / 0.5782 GB, free: 1.859 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1441/0.6981, allocations: 45.11 MB / 0.6223 GB, free: 1.391 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.6997, allocations: 1.846 MB / 0.6241 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002437/0.7022, allocations: 1.274 MB / 0.6253 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009095/0.7031, allocations: 0.7922 MB / 0.6261 GB, free: 13.45 MB / 478.1 MB Notification: Performance of SimCode: time 7.71e-07/0.7031, allocations: 0 / 0.6261 GB, free: 13.45 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06237/0.7655, allocations: 39.71 MB / 0.6648 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/16.41, allocations: 17.59 kB / 0.6649 GB, free: 5.969 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation_res.csv --start-time 0 --stop-time 6.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00248 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1)