Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.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.Shapes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",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.001238/0.001243, allocations: 105.6 kB / 16.27 MB, free: 5.93 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.001448/0.001447, allocations: 187.2 kB / 17.2 MB, free: 5.574 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.411/1.411, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2127/0.2127, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 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.001477/0.001478, allocations: 68.27 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1063, allocations: 57.78 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.007544/0.1139, allocations: 8.711 MB / 449.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004759/0.1187, allocations: 2.251 MB / 451.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009901/0.1197, allocations: 43.94 kB / 451.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002786/0.1225, allocations: 1.526 MB / 453.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.1237, allocations: 481.2 kB / 453.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.124, allocations: 75.84 kB / 453.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.1251, allocations: 0.9488 MB / 454.6 MB, free: 8.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.1266, allocations: 1.494 MB / 456.1 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000647/0.1273, allocations: 0.5449 MB / 456.7 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008358/0.1281, allocations: 0.6772 MB / 457.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.1283, allocations: 120 kB / 457.5 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.1286, allocations: 127.9 kB / 457.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005902/0.1292, allocations: 0.7286 MB / 458.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006953/0.1299, allocations: 0.8658 MB / 459.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.1318, allocations: 2.23 MB / 461.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1319, allocations: 0 / 461.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1319, allocations: 0 / 461.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.195e-05/0.1319, allocations: 0 / 461.4 MB, free: 1.887 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.002218/0.1341, allocations: 1.959 MB / 463.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1342, allocations: 19.83 kB / 463.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002776/0.1345, allocations: 334.5 kB / 463.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005154/0.135, allocations: 210.1 kB / 463.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009217/0.1359, allocations: 0.7263 MB / 464.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.327e-05/0.136, allocations: 115.4 kB / 464.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.1362, allocations: 147.9 kB / 464.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003722/0.1399, allocations: 3.387 MB / 468.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.14, allocations: 19.88 kB / 468.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/0.1401, allocations: 71.94 kB / 468.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009005/0.141, allocations: 0.6227 MB / 469 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004029/0.1451, allocations: 1.862 MB / 470.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01301/0.1581, allocations: 13.52 MB / 484.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.108e-05/0.1583, allocations: 169.1 kB / 484.6 MB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.313e-05/0.1583, allocations: 84.08 kB / 484.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1584, allocations: 79.28 kB / 484.7 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.1584, allocations: 109.8 kB / 484.8 MB, free: 9.582 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 3.557e-06/0.1584, allocations: 0 / 484.8 MB, free: 9.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003105/0.1587, allocations: 156 kB / 485 MB, free: 9.422 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.1588, allocations: 126.7 kB / 485.1 MB, free: 9.285 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.161, allocations: 1.651 MB / 486.8 MB, free: 7.625 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.161, allocations: 25.7 kB / 486.8 MB, free: 7.594 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009492/0.162, allocations: 1.363 MB / 488.2 MB, free: 6.207 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.1621, allocations: 43.95 kB / 488.2 MB, free: 6.164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004651/0.1625, allocations: 426.7 kB / 488.6 MB, free: 5.738 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1627, allocations: 357.9 kB / 489 MB, free: 5.383 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/0.1633, allocations: 375.8 kB / 489.3 MB, free: 5.012 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.1651, allocations: 1.925 MB / 491.3 MB, free: 2.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/0.1678, allocations: 2.511 MB / 493.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.075e-05/0.1678, allocations: 16 kB / 493.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003515/0.1713, allocations: 2.114 MB / 495.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.683e-05/0.1714, allocations: 32 kB / 495.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-05/0.1715, allocations: 56.84 kB / 496 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-05/0.1716, allocations: 79.92 kB / 496.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.1728, allocations: 491.1 kB / 496.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.51e-05/0.1729, allocations: 107.6 kB / 496.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.1744, allocations: 312.6 kB / 496.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.1746, allocations: 140 kB / 497.1 MB, free: 11.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.001113/0.1757, allocations: 0.8782 MB / 498 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.1759, allocations: 227.3 kB / 498.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.1761, allocations: 228.5 kB / 498.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.254e-05/0.1762, allocations: 180.2 kB / 498.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.886e-05/0.1763, allocations: 180.4 kB / 498.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.256e-05/0.1763, allocations: 184.2 kB / 498.9 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.1782, allocations: 1.485 MB / 0.4887 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.435e-05/0.1782, allocations: 104.9 kB / 0.4888 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.233e-05/0.1783, allocations: 105 kB / 0.4889 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-05/0.1783, allocations: 184.2 kB / 0.4891 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/0.1784, allocations: 176.3 kB / 0.4892 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-05/0.1784, allocations: 180.2 kB / 0.4894 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.703e-05/0.1785, allocations: 188.2 kB / 0.4896 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.1788, allocations: 429.3 kB / 0.49 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.1791, allocations: 296.5 kB / 0.4903 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.1793, allocations: 180.3 kB / 0.4905 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.1796, allocations: 108.9 kB / 0.4906 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.1797, allocations: 184.2 kB / 0.4907 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.1797, allocations: 104.9 kB / 0.4908 GB, free: 5.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001302/0.181, allocations: 1.018 MB / 0.4918 GB, free: 4.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.181, allocations: 0 / 0.4918 GB, free: 4.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001692/0.1827, allocations: 434 kB / 0.4922 GB, free: 4.414 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0005487/0.1833, allocations: 0.9361 MB / 0.4932 GB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.1847, allocations: 0.9029 MB / 0.494 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1847, allocations: 8.875 kB / 0.494 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.906e-06/0.1847, allocations: 0 / 0.494 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009163/0.1857, allocations: 0.5636 MB / 0.4946 GB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/0.2044, allocations: 14.41 MB / 0.5087 GB, free: 1.395 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/0.2061, allocations: 1.591 MB / 0.5102 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001232/0.2074, allocations: 487.4 kB / 0.5107 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007199/0.2081, allocations: 0.6672 MB / 0.5113 GB, free: 14.62 MB / 414.1 MB Notification: Performance of SimCode: time 1.152e-06/0.2082, allocations: 0 / 0.5113 GB, free: 14.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2678/0.476, allocations: 21.23 MB / 0.5321 GB, free: 90.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.185/8.661, allocations: 4.688 kB / 0.5321 GB, free: 90.9 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)