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.001718/0.001717, allocations: 101.9 kB / 16.4 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.001923/0.001923, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.343/1.343, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2066/0.2066, allocations: 43.52 MB / 314.1 MB, free: 456 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.001557/0.001558, allocations: 73.45 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1052, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.006474/0.1117, allocations: 5.744 MB / 0.493 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003275/0.1151, allocations: 1.819 MB / 0.4948 GB, free: 4.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006002/0.1157, allocations: 19.94 kB / 0.4948 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.117, allocations: 0.5096 MB / 0.4953 GB, free: 4.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.1187, allocations: 0.6847 MB / 0.4959 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.1188, allocations: 31.91 kB / 0.496 GB, free: 3.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.1205, allocations: 1.433 MB / 0.4974 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009568/0.1215, allocations: 0.719 MB / 0.4981 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006959/0.1222, allocations: 490 kB / 0.4985 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008575/0.1231, allocations: 0.681 MB / 0.4992 GB, free: 120 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002284/0.1233, allocations: 88 kB / 0.4993 GB, free: 32 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005804/0.1239, allocations: 303.5 kB / 0.4996 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005338/0.1244, allocations: 0.6738 MB / 0.5002 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006785/0.1251, allocations: 0.8381 MB / 0.5011 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.1276, allocations: 2.675 MB / 0.5037 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1276, allocations: 0 / 0.5037 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1277, allocations: 0 / 0.5037 GB, free: 11.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.606e-05/0.1277, allocations: 0 / 0.5037 GB, free: 11.53 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.00316/0.1309, allocations: 2.037 MB / 0.5057 GB, free: 9.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1309, allocations: 11.89 kB / 0.5057 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004747/0.1314, allocations: 340.1 kB / 0.506 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/0.1364, allocations: 1.485 MB / 0.5075 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.1381, allocations: 0.8476 MB / 0.5083 GB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.435e-05/0.1382, allocations: 82.03 kB / 0.5084 GB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003445/0.1386, allocations: 95.92 kB / 0.5084 GB, free: 6.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007443/0.146, allocations: 4.63 MB / 0.513 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.742e-05/0.1461, allocations: 19.81 kB / 0.513 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003578/0.1465, allocations: 55.91 kB / 0.513 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001855/0.1484, allocations: 1.103 MB / 0.5141 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006931/0.1553, allocations: 4.007 MB / 0.518 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2339/0.3893, allocations: 18.45 MB / 0.5361 GB, free: 25.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.3906, allocations: 1.183 MB / 0.5372 GB, free: 24.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004336/0.391, allocations: 342.3 kB / 0.5375 GB, free: 24.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.3911, allocations: 3.906 kB / 0.5375 GB, free: 24.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.3911, allocations: 43.45 kB / 0.5376 GB, free: 24.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=60): time 3.226e-06/0.3911, allocations: 0 / 0.5376 GB, free: 24.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=60): time 0.001727/0.3928, allocations: 1.033 MB / 0.5386 GB, free: 24.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.3929, allocations: 112.6 kB / 0.5387 GB, free: 24.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003521/0.3964, allocations: 2.206 MB / 0.5408 GB, free: 23.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.903e-05/0.3966, allocations: 31.44 kB / 0.5409 GB, free: 23.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001179/0.3977, allocations: 1.69 MB / 0.5425 GB, free: 22.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000329/0.3981, allocations: 281.6 kB / 0.5428 GB, free: 22.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009541/0.3991, allocations: 0.6819 MB / 0.5435 GB, free: 22.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3992, allocations: 351.2 kB / 0.5438 GB, free: 22.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/0.4007, allocations: 0.8948 MB / 0.5447 GB, free: 22.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002531/0.4032, allocations: 3.172 MB / 0.5478 GB, free: 18.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004516/0.4078, allocations: 4.452 MB / 0.5521 GB, free: 14.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001381/0.408, allocations: 23.34 kB / 0.5521 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007928/0.4159, allocations: 3.846 MB / 0.5559 GB, free: 13.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.409e-05/0.416, allocations: 42.88 kB / 0.5559 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001798/0.4162, allocations: 81.28 kB / 0.556 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.4164, allocations: 106.8 kB / 0.5561 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/0.4189, allocations: 0.7491 MB / 0.5568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001823/0.4191, allocations: 158.4 kB / 0.557 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/0.4221, allocations: 0.502 MB / 0.5575 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007557/0.4229, allocations: 216.6 kB / 0.5577 GB, free: 12.83 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.002791/0.4257, allocations: 1.103 MB / 0.5588 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004901/0.4262, allocations: 178.1 kB / 0.5589 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.4267, allocations: 197.2 kB / 0.5591 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/0.4267, allocations: 8.25 kB / 0.5591 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.4268, allocations: 2.172 kB / 0.5591 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.4268, allocations: 2.594 kB / 0.5591 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004193/0.431, allocations: 2.017 MB / 0.5611 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.431, allocations: 1.531 kB / 0.5611 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.4314, allocations: 60.72 kB / 0.5612 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.4314, allocations: 2.531 kB / 0.5612 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.4315, allocations: 10.67 kB / 0.5612 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.779e-06/0.4315, allocations: 6.406 kB / 0.5612 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4315, allocations: 5 kB / 0.5612 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.4326, allocations: 1.047 MB / 0.5622 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003371/0.433, allocations: 237.8 kB / 0.5624 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.4332, allocations: 11.12 kB / 0.5625 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005098/0.4337, allocations: 26.88 kB / 0.5625 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.4337, allocations: 20.58 kB / 0.5625 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/0.4338, allocations: 21.52 kB / 0.5625 GB, free: 10.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001847/0.4356, allocations: 1.375 MB / 0.5639 GB, free: 9.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4357, allocations: 0.6562 kB / 0.5639 GB, free: 9.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002581/0.4382, allocations: 0.4938 MB / 0.5643 GB, free: 9.777 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.001271/0.4395, allocations: 1.646 MB / 0.566 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002837/0.4424, allocations: 2.052 MB / 0.568 GB, free: 7.996 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.4424, allocations: 0 / 0.568 GB, free: 7.996 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.4427, allocations: 333 kB / 0.5683 GB, free: 7.895 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.444, allocations: 171.1 kB / 0.5684 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02698/0.4709, 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.001889/0.4729, allocations: 1.787 MB / 0.5902 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002311/0.4752, allocations: 1.107 MB / 0.5913 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/0.4763, allocations: 0.7336 MB / 0.592 GB, free: 14.83 MB / 446.1 MB Notification: Performance of SimCode: time 1.193e-06/0.4763, allocations: 0 / 0.592 GB, free: 14.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05441/0.5307, allocations: 29 MB / 0.6203 GB, free: 1.828 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.1, allocations: 11.88 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)