Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002402/0.002402, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001144, allocations: 78.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3045/0.3045, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.702e-05/3.718e-05, allocations: 0 / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 58.87 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5351/0.6618, allocations: 93.18 MB / 0.5639 GB, free: 10.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.6621, allocations: 81.92 kB / 0.564 GB, free: 10.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1175/0.7796, allocations: 27.61 MB / 0.5909 GB, free: 2.148 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7796, allocations: 0 / 0.5909 GB, free: 2.148 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001001/0.7798, allocations: 32 kB / 0.591 GB, free: 2.117 MB / 394.7 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.004922/0.7847, allocations: 1.602 MB / 0.5925 GB, free: 0.582 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.7848, allocations: 8.031 kB / 0.5925 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001231/0.786, allocations: 344.2 kB / 0.5929 GB, free: 364 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.7877, allocations: 265.1 kB / 0.5931 GB, free: 96 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/0.7907, allocations: 0.8266 MB / 0.5939 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.7909, allocations: 151 kB / 0.5941 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006947/0.7916, allocations: 187.6 kB / 0.5942 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008728/0.8004, allocations: 3.333 MB / 0.5975 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.729e-05/0.8005, allocations: 19.81 kB / 0.5975 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003742/0.8009, allocations: 93.14 kB / 0.5976 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007083/0.8016, allocations: 335.5 kB / 0.5979 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005468/0.8071, allocations: 1.826 MB / 0.5997 GB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02113/0.8283, allocations: 15.22 MB / 0.6146 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.8285, allocations: 171.9 kB / 0.6147 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.8285, allocations: 80.14 kB / 0.6148 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.8286, allocations: 79.28 kB / 0.6149 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.069e-05/0.8287, allocations: 105.8 kB / 0.615 GB, free: 12.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.965e-06/0.8287, allocations: 0 / 0.615 GB, free: 12.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004447/0.8291, allocations: 152 kB / 0.6151 GB, free: 11.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/0.8292, allocations: 130 kB / 0.6153 GB, free: 11.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003591/0.8328, allocations: 1.452 MB / 0.6167 GB, free: 10.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.8329, allocations: 29.7 kB / 0.6167 GB, free: 10.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.8343, allocations: 1.387 MB / 0.6181 GB, free: 9.355 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.8345, allocations: 45.95 kB / 0.6181 GB, free: 9.328 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.8346, allocations: 40.19 kB / 0.6181 GB, free: 9.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002375/0.8348, allocations: 394.5 kB / 0.6185 GB, free: 8.957 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008881/0.8357, allocations: 350.5 kB / 0.6188 GB, free: 8.703 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/0.8381, allocations: 1.904 MB / 0.6207 GB, free: 6.156 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.8401, allocations: 0.7842 MB / 0.6215 GB, free: 5.523 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.245e-05/0.8402, allocations: 16 kB / 0.6215 GB, free: 5.508 MB / 426.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005987/0.8462, allocations: 2.022 MB / 0.6235 GB, free: 3.805 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.772e-05/0.8463, allocations: 32.94 kB / 0.6235 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-05/0.8464, allocations: 56 kB / 0.6235 GB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/0.8465, allocations: 80 kB / 0.6236 GB, free: 3.641 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003844/0.8504, allocations: 0.4923 MB / 0.6241 GB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000228/0.8507, allocations: 107.6 kB / 0.6242 GB, free: 3.059 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004786/0.8555, allocations: 322.5 kB / 0.6245 GB, free: 2.773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006777/0.8563, allocations: 141.6 kB / 0.6246 GB, free: 2.648 MB / 426.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009033/0.8572, allocations: 370 kB / 0.625 GB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004555/0.8577, allocations: 231.3 kB / 0.6252 GB, free: 2.047 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006657/0.8584, allocations: 224.3 kB / 0.6254 GB, free: 1.812 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001426/0.8585, allocations: 192.2 kB / 0.6256 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001324/0.8587, allocations: 180.2 kB / 0.6258 GB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001325/0.8589, allocations: 180.2 kB / 0.626 GB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004545/0.8634, allocations: 1.477 MB / 0.6274 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-05/0.8635, allocations: 101 kB / 0.6275 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.912e-05/0.8636, allocations: 109.1 kB / 0.6276 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.064e-05/0.8637, allocations: 184.3 kB / 0.6278 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-05/0.8638, allocations: 184.2 kB / 0.628 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.607e-05/0.8639, allocations: 180.3 kB / 0.6281 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.782e-05/0.864, allocations: 184.2 kB / 0.6283 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/0.8645, allocations: 425.3 kB / 0.6287 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005458/0.865, allocations: 300.4 kB / 0.629 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/0.8653, allocations: 180.3 kB / 0.6292 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/0.8658, allocations: 108.9 kB / 0.6293 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.8659, allocations: 184.2 kB / 0.6294 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.866, allocations: 105 kB / 0.6295 GB, free: 13.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002509/0.8685, allocations: 0.9938 MB / 0.6305 GB, free: 12.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.8686, allocations: 0 / 0.6305 GB, free: 12.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002584/0.8712, allocations: 430.2 kB / 0.6309 GB, free: 11.98 MB / 442.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008397/0.8721, allocations: 0.9361 MB / 0.6318 GB, free: 11.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002498/0.8746, allocations: 0.8766 MB / 0.6327 GB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.8747, allocations: 0 / 0.6327 GB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.139e-05/0.8747, allocations: 8.109 kB / 0.6327 GB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.8759, allocations: 0.6563 MB / 0.6333 GB, free: 9.473 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009425/0.8853, allocations: 2.746 MB / 0.636 GB, free: 6.664 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002596/0.888, allocations: 1.615 MB / 0.6376 GB, free: 5.016 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/0.8895, allocations: 0.675 MB / 0.6383 GB, free: 4.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.283e-06/0.8895, allocations: 0 / 0.6383 GB, free: 4.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.105/3.995, allocations: 26.14 MB / 0.6638 GB, free: 10.17 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)