Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001363, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2523/0.2523, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 85.97 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1306, allocations: 62.44 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01109/0.1418, allocations: 8.698 MB / 488.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005493/0.1473, allocations: 2.285 MB / 491.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.1486, allocations: 43.94 kB / 491.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003277/0.1519, allocations: 1.55 MB / 492.8 MB, free: 8.484 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.1535, allocations: 461.3 kB / 493.2 MB, free: 8.031 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.1538, allocations: 67.91 kB / 493.3 MB, free: 7.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.1552, allocations: 0.9372 MB / 494.2 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/0.1572, allocations: 1.491 MB / 495.7 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000814/0.158, allocations: 0.537 MB / 496.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009495/0.159, allocations: 0.6772 MB / 496.9 MB, free: 4.289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.1592, allocations: 120 kB / 497.1 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.1595, allocations: 124 kB / 497.2 MB, free: 4.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007171/0.1603, allocations: 0.7285 MB / 497.9 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008653/0.1611, allocations: 0.858 MB / 498.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002553/0.1637, allocations: 2.207 MB / 0.4892 GB, free: 248 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1637, allocations: 0 / 0.4892 GB, free: 248 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1637, allocations: 0 / 0.4892 GB, free: 248 kB / 366.1 MB Notification: Performance of Transformations before backend: time 3.697e-05/0.1638, allocations: 0 / 0.4892 GB, free: 248 kB / 366.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.003029/0.1668, allocations: 1.951 MB / 0.4911 GB, free: 14.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/0.1669, allocations: 12.03 kB / 0.4911 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003648/0.1672, allocations: 334.5 kB / 0.4915 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005752/0.1678, allocations: 210.1 kB / 0.4917 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.1689, allocations: 0.7187 MB / 0.4924 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.169, allocations: 115.4 kB / 0.4925 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.1692, allocations: 151.9 kB / 0.4926 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004275/0.1735, allocations: 3.379 MB / 0.4959 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.003e-05/0.1735, allocations: 11.88 kB / 0.4959 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.1737, allocations: 79.88 kB / 0.496 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007668/0.1744, allocations: 0.6188 MB / 0.4966 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002996/0.1775, allocations: 1.858 MB / 0.4984 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2146/0.3921, allocations: 13.52 MB / 0.5116 GB, free: 31.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.758e-05/0.3922, allocations: 169.9 kB / 0.5118 GB, free: 30.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.3922, allocations: 82.5 kB / 0.5119 GB, free: 30.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.3922, allocations: 78.91 kB / 0.5119 GB, free: 30.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.3922, allocations: 110.1 kB / 0.5121 GB, free: 30.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.663e-06/0.3923, allocations: 0 / 0.5121 GB, free: 30.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002234/0.3925, allocations: 151.5 kB / 0.5122 GB, free: 30.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3925, allocations: 132.4 kB / 0.5123 GB, free: 30.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/0.3945, allocations: 1.652 MB / 0.5139 GB, free: 29.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.3945, allocations: 25.7 kB / 0.514 GB, free: 29.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006385/0.3951, allocations: 1.354 MB / 0.5153 GB, free: 28.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.3952, allocations: 45.25 kB / 0.5153 GB, free: 28.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005116/0.3957, allocations: 428.7 kB / 0.5157 GB, free: 28.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3959, allocations: 360.8 kB / 0.5161 GB, free: 28.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005261/0.3964, allocations: 372.3 kB / 0.5164 GB, free: 28.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.3975, allocations: 1.932 MB / 0.5183 GB, free: 25.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/0.3994, allocations: 2.507 MB / 0.5208 GB, free: 23.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-05/0.3994, allocations: 16.69 kB / 0.5208 GB, free: 23.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003169/0.4026, allocations: 2.113 MB / 0.5228 GB, free: 22.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.923e-05/0.4027, allocations: 28.53 kB / 0.5229 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/0.4028, allocations: 57.19 kB / 0.5229 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.963e-05/0.4029, allocations: 74.38 kB / 0.523 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.404, allocations: 486.7 kB / 0.5235 GB, free: 22.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000104/0.4041, allocations: 109.5 kB / 0.5236 GB, free: 22.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.4056, allocations: 321.8 kB / 0.5239 GB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.4058, allocations: 138.6 kB / 0.524 GB, free: 22.07 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.001197/0.407, allocations: 0.8679 MB / 0.5249 GB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.4072, allocations: 227.7 kB / 0.5251 GB, free: 21.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.4074, allocations: 227.8 kB / 0.5253 GB, free: 21.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.318e-05/0.4075, allocations: 186.1 kB / 0.5255 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.702e-05/0.4075, allocations: 178.1 kB / 0.5256 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.721e-05/0.4075, allocations: 182.3 kB / 0.5258 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/0.4095, allocations: 1.475 MB / 0.5273 GB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/0.4095, allocations: 110.7 kB / 0.5274 GB, free: 19.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.4095, allocations: 102.8 kB / 0.5275 GB, free: 19.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-05/0.4096, allocations: 185.8 kB / 0.5276 GB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.4096, allocations: 186.1 kB / 0.5278 GB, free: 19.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.902e-05/0.4096, allocations: 182.7 kB / 0.528 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.629e-05/0.4097, allocations: 181.6 kB / 0.5282 GB, free: 18.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.4098, allocations: 436.7 kB / 0.5286 GB, free: 18.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.4101, allocations: 289.3 kB / 0.5289 GB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.4102, allocations: 182.7 kB / 0.529 GB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.4105, allocations: 107.4 kB / 0.5291 GB, free: 18.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.4105, allocations: 178.1 kB / 0.5293 GB, free: 17.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.4105, allocations: 107.3 kB / 0.5294 GB, free: 17.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001274/0.4118, allocations: 1.016 MB / 0.5304 GB, free: 17.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4118, allocations: 0 / 0.5304 GB, free: 17.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001835/0.4137, allocations: 429.2 kB / 0.5308 GB, free: 17.23 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.0004014/0.4141, allocations: 0.9354 MB / 0.5317 GB, free: 16.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.4157, allocations: 0.8991 MB / 0.5326 GB, free: 16.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.4157, allocations: 0 / 0.5326 GB, free: 16.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.015e-06/0.4158, allocations: 3.938 kB / 0.5326 GB, free: 16.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007848/0.4165, allocations: 0.5799 MB / 0.5332 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/0.4317, allocations: 14.38 MB / 0.5472 GB, free: 3.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000928/0.4326, allocations: 1.568 MB / 0.5487 GB, free: 1.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001056/0.4337, allocations: 0.4953 MB / 0.5492 GB, free: 1.184 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/0.4342, allocations: 0.6633 MB / 0.5499 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4342, allocations: 3.938 kB / 0.5499 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05664/0.4908, allocations: 21.17 MB / 0.5705 GB, free: 11.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.483/8.974, allocations: 6.281 kB / 0.5706 GB, free: 11.5 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)