Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",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.00128/0.00128, allocations: 112.4 kB / 16.41 MB, free: 6.488 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.00132/0.00132, allocations: 187.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1964/0.1964, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 71.88 kB / 441.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09904/0.1007, allocations: 57.79 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.00705/0.1078, allocations: 5.725 MB / 0.493 GB, free: 6.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003993/0.1118, allocations: 1.831 MB / 0.4948 GB, free: 4.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000796/0.1126, allocations: 20 kB / 0.4948 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.1142, allocations: 0.5019 MB / 0.4953 GB, free: 4.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.1161, allocations: 0.6925 MB / 0.4959 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.1164, allocations: 19.94 kB / 0.496 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002095/0.1185, allocations: 1.441 MB / 0.4974 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.1198, allocations: 0.7229 MB / 0.4981 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009839/0.1208, allocations: 486 kB / 0.4985 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.1219, allocations: 0.681 MB / 0.4992 GB, free: 156 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003333/0.1223, allocations: 88 kB / 0.4993 GB, free: 68 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008039/0.1231, allocations: 299.5 kB / 0.4996 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007677/0.1239, allocations: 0.6699 MB / 0.5002 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.1251, allocations: 0.8342 MB / 0.501 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003332/0.1284, allocations: 2.683 MB / 0.5037 GB, free: 11.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1284, allocations: 0 / 0.5037 GB, free: 11.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1284, allocations: 0 / 0.5037 GB, free: 11.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001101/0.1286, allocations: 4 kB / 0.5037 GB, free: 11.56 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.003914/0.1325, allocations: 2.022 MB / 0.5056 GB, free: 9.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.1326, allocations: 15.89 kB / 0.5057 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006284/0.1332, allocations: 348.1 kB / 0.506 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004959/0.1382, allocations: 1.474 MB / 0.5074 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.1402, allocations: 0.8593 MB / 0.5083 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.575e-05/0.1403, allocations: 86.03 kB / 0.5084 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003718/0.1407, allocations: 91.92 kB / 0.5084 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006126/0.1468, allocations: 4.626 MB / 0.513 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/0.1469, allocations: 23.75 kB / 0.513 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002444/0.1471, allocations: 59.91 kB / 0.513 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001706/0.1488, allocations: 1.111 MB / 0.5141 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006217/0.1551, allocations: 4 MB / 0.518 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2131/0.3682, allocations: 18.46 MB / 0.5361 GB, free: 25.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.3694, allocations: 1.174 MB / 0.5372 GB, free: 24.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003938/0.3699, allocations: 342 kB / 0.5375 GB, free: 24.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.3699, allocations: 4.062 kB / 0.5375 GB, free: 24.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.3699, allocations: 39.34 kB / 0.5376 GB, free: 24.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=60): time 3.566e-06/0.3699, allocations: 0 / 0.5376 GB, free: 24.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=60): time 0.001671/0.3716, allocations: 1.038 MB / 0.5386 GB, free: 24.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.3717, allocations: 107.9 kB / 0.5387 GB, free: 24.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/0.3747, allocations: 2.209 MB / 0.5408 GB, free: 23.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.3748, allocations: 33.09 kB / 0.5409 GB, free: 23.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007843/0.3756, allocations: 1.695 MB / 0.5425 GB, free: 22.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.3758, allocations: 279.2 kB / 0.5428 GB, free: 22.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007042/0.3765, allocations: 0.6795 MB / 0.5435 GB, free: 22.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3766, allocations: 354.6 kB / 0.5438 GB, free: 22.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.3779, allocations: 0.8975 MB / 0.5447 GB, free: 22.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002022/0.3799, allocations: 3.165 MB / 0.5478 GB, free: 18.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003877/0.3838, allocations: 4.449 MB / 0.5521 GB, free: 14.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-05/0.384, allocations: 23.09 kB / 0.5521 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006138/0.3901, allocations: 3.85 MB / 0.5559 GB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.758e-05/0.3902, allocations: 40.22 kB / 0.5559 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/0.3903, allocations: 81.78 kB / 0.556 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/0.3905, allocations: 105.8 kB / 0.5561 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/0.3925, allocations: 0.7563 MB / 0.5568 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001211/0.3926, allocations: 159.2 kB / 0.557 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.3947, allocations: 0.4991 MB / 0.5575 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002895/0.395, allocations: 216.4 kB / 0.5577 GB, free: 12.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 371 * Number of states: 0 () * Number of discrete variables: 12 (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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 407 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001302/0.3963, allocations: 1.097 MB / 0.5588 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.3966, allocations: 180.1 kB / 0.5589 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.3969, allocations: 202.9 kB / 0.5591 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.3969, allocations: 7.531 kB / 0.5591 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.3969, allocations: 1.469 kB / 0.5591 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.3969, allocations: 2.297 kB / 0.5591 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003109/0.4001, allocations: 2.021 MB / 0.5611 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4001, allocations: 1.406 kB / 0.5611 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.4004, allocations: 63.8 kB / 0.5612 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4004, allocations: 2.688 kB / 0.5612 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.4004, allocations: 8.766 kB / 0.5612 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.4004, allocations: 5.25 kB / 0.5612 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4004, allocations: 7.828 kB / 0.5612 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008569/0.4013, allocations: 1.041 MB / 0.5622 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.4016, allocations: 242.5 kB / 0.5624 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.4018, allocations: 7.906 kB / 0.5625 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004952/0.4023, allocations: 24.27 kB / 0.5625 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.4023, allocations: 27.36 kB / 0.5625 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.4024, allocations: 16.27 kB / 0.5625 GB, free: 10.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001547/0.4039, allocations: 1.37 MB / 0.5639 GB, free: 9.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4039, allocations: 4 kB / 0.5639 GB, free: 9.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002273/0.4062, allocations: 0.4999 MB / 0.5643 GB, free: 9.844 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001107/0.4073, allocations: 1.643 MB / 0.566 GB, free: 8.727 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002399/0.4097, allocations: 2.049 MB / 0.568 GB, free: 8.062 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4098, allocations: 0 / 0.568 GB, free: 8.062 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.41, allocations: 333.5 kB / 0.5683 GB, free: 7.965 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009873/0.411, allocations: 170.6 kB / 0.5684 GB, free: 7.875 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02376/0.4348, allocations: 20.51 MB / 0.5885 GB, free: 2.488 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/0.4366, allocations: 1.79 MB / 0.5902 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002278/0.4389, allocations: 1.106 MB / 0.5913 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.4399, allocations: 0.7335 MB / 0.592 GB, free: 14.83 MB / 446.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4399, allocations: 3.391 kB / 0.592 GB, free: 14.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05339/0.4933, allocations: 28.99 MB / 0.6203 GB, free: 1.832 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.16, allocations: 15.81 kB / 0.6203 GB, free: 1.816 MB / 462.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)