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.001358/0.001358, allocations: 105.1 kB / 16.4 MB, free: 6.512 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.001332/0.001332, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.357/1.357, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2188/0.2188, allocations: 43.51 MB / 314.1 MB, free: 460 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.002107/0.002107, allocations: 70.03 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09878/0.1009, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01048/0.1114, allocations: 8.722 MB / 0.4959 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005098/0.1166, allocations: 2.255 MB / 0.4981 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009967/0.1176, allocations: 47.94 kB / 0.4982 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003246/0.1209, allocations: 1.522 MB / 0.4996 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.1222, allocations: 473.2 kB / 0.5001 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.1226, allocations: 71.84 kB / 0.5002 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.1239, allocations: 0.9371 MB / 0.5011 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/0.1257, allocations: 1.514 MB / 0.5026 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007588/0.1265, allocations: 0.5332 MB / 0.5031 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.1275, allocations: 0.6889 MB / 0.5038 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002908/0.1278, allocations: 120 kB / 0.5039 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000411/0.1282, allocations: 119.9 kB / 0.504 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008235/0.129, allocations: 0.7402 MB / 0.5047 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008979/0.13, allocations: 0.858 MB / 0.5055 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002672/0.1326, allocations: 2.341 MB / 0.5078 GB, free: 7.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1327, allocations: 4 kB / 0.5078 GB, free: 7.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1327, allocations: 0 / 0.5078 GB, free: 7.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.917e-05/0.1328, allocations: 0 / 0.5078 GB, free: 7.262 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.003141/0.1359, allocations: 2.011 MB / 0.5098 GB, free: 5.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.136, allocations: 11.89 kB / 0.5098 GB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003891/0.1364, allocations: 334.5 kB / 0.5101 GB, free: 4.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006232/0.137, allocations: 227.4 kB / 0.5103 GB, free: 4.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.1382, allocations: 0.7268 MB / 0.5111 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.1383, allocations: 119.4 kB / 0.5112 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.1385, allocations: 151.9 kB / 0.5113 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004556/0.1431, allocations: 3.379 MB / 0.5146 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.944e-05/0.1432, allocations: 15.88 kB / 0.5146 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.1434, allocations: 71.94 kB / 0.5147 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008337/0.1442, allocations: 0.6188 MB / 0.5153 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003077/0.1473, allocations: 1.862 MB / 0.5171 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1962/0.3435, allocations: 13.51 MB / 0.5303 GB, free: 37.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.361e-05/0.3436, allocations: 168.3 kB / 0.5305 GB, free: 36.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/0.3436, allocations: 84.45 kB / 0.5306 GB, free: 36.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.3436, allocations: 78.06 kB / 0.5306 GB, free: 36.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.3437, allocations: 116.7 kB / 0.5307 GB, free: 36.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 2.194e-06/0.3437, allocations: 4.281 kB / 0.5307 GB, free: 36.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003247/0.344, allocations: 156.1 kB / 0.5309 GB, free: 36.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.344, allocations: 126.7 kB / 0.531 GB, free: 36.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.3463, allocations: 1.657 MB / 0.5326 GB, free: 36.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.3463, allocations: 25.7 kB / 0.5327 GB, free: 36.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008785/0.3472, allocations: 1.416 MB / 0.534 GB, free: 35.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/0.3473, allocations: 49.33 kB / 0.5341 GB, free: 35.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004687/0.3477, allocations: 431.2 kB / 0.5345 GB, free: 35.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3479, allocations: 359.4 kB / 0.5348 GB, free: 35.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005603/0.3484, allocations: 371 kB / 0.5352 GB, free: 35.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.3497, allocations: 1.93 MB / 0.5371 GB, free: 33.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.3518, allocations: 2.507 MB / 0.5395 GB, free: 30.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.275e-05/0.3519, allocations: 16.44 kB / 0.5395 GB, free: 30.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003324/0.3552, allocations: 2.121 MB / 0.5416 GB, free: 30.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.877e-05/0.3553, allocations: 29.81 kB / 0.5416 GB, free: 30.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-05/0.3553, allocations: 57.41 kB / 0.5417 GB, free: 30.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.657e-05/0.3555, allocations: 76.94 kB / 0.5418 GB, free: 30.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.3567, allocations: 490.4 kB / 0.5422 GB, free: 30.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-05/0.3568, allocations: 111 kB / 0.5423 GB, free: 30.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.3585, allocations: 327.7 kB / 0.5427 GB, free: 30.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/0.3587, allocations: 140.1 kB / 0.5428 GB, free: 30.04 MB / 414.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.001116/0.3598, allocations: 0.8758 MB / 0.5436 GB, free: 29.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.36, allocations: 233.2 kB / 0.5439 GB, free: 29.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.3602, allocations: 234 kB / 0.5441 GB, free: 29.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.3603, allocations: 178.1 kB / 0.5443 GB, free: 29.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.463e-05/0.3603, allocations: 178.5 kB / 0.5444 GB, free: 28.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/0.3603, allocations: 185.2 kB / 0.5446 GB, free: 28.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.3623, allocations: 1.477 MB / 0.546 GB, free: 27.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/0.3623, allocations: 111.2 kB / 0.5462 GB, free: 27.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.376e-05/0.3623, allocations: 103.2 kB / 0.5463 GB, free: 27.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.389e-05/0.3623, allocations: 177.2 kB / 0.5464 GB, free: 27.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.3624, allocations: 181.6 kB / 0.5466 GB, free: 27.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.243e-05/0.3624, allocations: 182.4 kB / 0.5468 GB, free: 27.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.41e-05/0.3624, allocations: 182.3 kB / 0.5469 GB, free: 26.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.3626, allocations: 438.3 kB / 0.5474 GB, free: 26.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/0.3629, allocations: 301.7 kB / 0.5476 GB, free: 26.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.363, allocations: 182.2 kB / 0.5478 GB, free: 26.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.3633, allocations: 108.6 kB / 0.5479 GB, free: 25.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.3633, allocations: 185.4 kB / 0.5481 GB, free: 25.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.3634, allocations: 106.6 kB / 0.5482 GB, free: 25.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001385/0.3647, allocations: 1.026 MB / 0.5492 GB, free: 25.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3648, allocations: 1.469 kB / 0.5492 GB, free: 25.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001821/0.3666, allocations: 437.7 kB / 0.5496 GB, free: 25.16 MB / 414.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.0003708/0.367, allocations: 0.9357 MB / 0.5505 GB, free: 24.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.3684, allocations: 0.9001 MB / 0.5514 GB, free: 23.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3684, allocations: 4.125 kB / 0.5514 GB, free: 23.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.378e-06/0.3684, allocations: 7 kB / 0.5514 GB, free: 23.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008347/0.3693, allocations: 0.5658 MB / 0.552 GB, free: 23.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/0.3865, allocations: 13.62 MB / 0.5653 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/0.3878, allocations: 1.582 MB / 0.5668 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001055/0.3889, allocations: 491.7 kB / 0.5673 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005616/0.3894, allocations: 0.6681 MB / 0.5679 GB, free: 12.29 MB / 414.1 MB Notification: Performance of SimCode: time 1.834e-06/0.3894, allocations: 0 / 0.5679 GB, free: 12.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04791/0.4374, allocations: 21.73 MB / 0.5892 GB, free: 9.648 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.99, allocations: 0 / 0.5892 GB, free: 9.648 MB / 430.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)