Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001875/0.001875, allocations: 113.1 kB / 21.86 MB, free: 76 kB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002218/0.002218, allocations: 213.6 kB / 25.14 MB, free: 3.586 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.424/1.424, allocations: 230.5 MB / 258.7 MB, free: 7.906 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.|body3.frame_a.r_0.1.|body3.frame_a.r_0.2.|body3.frame_a.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body3.w_a.1.|body3.w_a.2.|body3.w_a.3.|springDamperSeries.s_damper",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses")
translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.|body3.frame_a.r_0.1.|body3.frame_a.r_0.2.|body3.frame_a.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body3.w_a.1.|body3.w_a.2.|body3.w_a.3.|springDamperSeries.s_damper",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex 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.
Warning: Requested package ModelicaServices 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.001993/0.001993, allocations: 67.88 kB / 379.4 MB, free: 2.766 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2146, allocations: 53.36 MB / 432.8 MB, free: 7.02 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.01714/0.2317, allocations: 15.09 MB / 447.9 MB, free: 7.863 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.009139/0.2408, allocations: 4.78 MB / 452.6 MB, free: 3.074 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.2423, allocations: 103.5 kB / 452.7 MB, free: 2.973 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.006184/0.2485, allocations: 3.511 MB / 456.3 MB, free: 15.45 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004721/0.2532, allocations: 2.42 MB / 458.7 MB, free: 13.02 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.255, allocations: 0.9944 MB / 459.7 MB, free: 12.02 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00729/0.2623, allocations: 6.204 MB / 465.9 MB, free: 5.805 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003891/0.2662, allocations: 3.386 MB / 469.3 MB, free: 2.352 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002633/0.2689, allocations: 2.184 MB / 471.4 MB, free: 164 kB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.004001/0.2729, allocations: 3.236 MB / 474.7 MB, free: 12.91 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0007468/0.2736, allocations: 444 kB / 475.1 MB, free: 12.48 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.2758, allocations: 1.256 MB / 476.4 MB, free: 11.22 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.00526/0.281, allocations: 2.777 MB / 479.1 MB, free: 8.438 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.006089/0.2871, allocations: 3.087 MB / 482.2 MB, free: 5.332 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01675/0.3039, allocations: 9.321 MB / 491.6 MB, free: 11.97 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3039, allocations: 0 / 491.6 MB, free: 11.97 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.043e-06/0.3039, allocations: 0 / 491.6 MB, free: 11.97 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 0.0001869/0.3041, allocations: 0 / 491.6 MB, free: 11.97 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: 2151
 * Number of variables: 2151
Notification: Performance of Generate backend data structure: time 0.02114/0.3252, allocations: 6.936 MB / 498.5 MB, free: 4.965 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.3253, allocations: 8.031 kB / 498.5 MB, free: 4.957 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/0.3402, allocations: 2.828 MB / 0.4896 GB, free: 2.121 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.006704/0.3469, allocations: 3.112 MB / 0.4926 GB, free: 14.96 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002961/0.3472, allocations: 352.7 kB / 0.4929 GB, free: 14.61 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001751/0.3489, allocations: 0.6828 MB / 0.4936 GB, free: 13.93 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.03598/0.3849, allocations: 17.47 MB / 0.5107 GB, free: 11.46 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001412/0.385, allocations: 63.45 kB / 0.5107 GB, free: 11.4 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006076/0.3856, allocations: 219.8 kB / 0.5109 GB, free: 11.18 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004702/0.3903, allocations: 2.847 MB / 0.5137 GB, free: 8.336 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03612/0.4265, allocations: 15.34 MB / 0.5287 GB, free: 8.973 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2358/0.6622, allocations: 58.4 MB / 0.5857 GB, free: 54.84 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.01618/0.6784, allocations: 6.11 MB / 0.5917 GB, free: 50.39 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003268/0.6817, allocations: 3.124 MB / 0.5947 GB, free: 47.26 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01613/0.6978, allocations: 12.69 MB / 0.6071 GB, free: 34.79 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.6978, allocations: 68.5 kB / 0.6072 GB, free: 34.71 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=289): time 4.368e-06/0.6978, allocations: 0 / 0.6072 GB, free: 34.71 MB / 446.1 MB
Notification: Performance of matching and sorting (n=303): time 0.06005/0.7579, allocations: 24.78 MB / 0.6314 GB, free: 10.14 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.7579, allocations: 158.5 kB / 0.6316 GB, free: 9.953 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005335/0.7633, allocations: 5.106 MB / 0.6365 GB, free: 4.953 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0005647/0.7638, allocations: 73.7 kB / 0.6366 GB, free: 4.875 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001621/0.7654, allocations: 4.334 MB / 0.6408 GB, free: 0.7773 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.001087/0.7665, allocations: 1.215 MB / 0.642 GB, free: 15.58 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002488/0.769, allocations: 1.753 MB / 0.6437 GB, free: 13.81 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001304/0.7691, allocations: 301.1 kB / 0.644 GB, free: 13.51 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.005766/0.7749, allocations: 3.386 MB / 0.6473 GB, free: 10.12 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.01008/0.785, allocations: 8.353 MB / 0.6555 GB, free: 15.32 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01666/0.8017, allocations: 12.57 MB / 0.6678 GB, free: 284 kB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.578e-05/0.8017, allocations: 55.94 kB / 0.6678 GB, free: 228 kB / 478.1 MB
Notification: Performance of matching and sorting (n=1145) (initialization): time 0.04604/0.8478, allocations: 16.67 MB / 0.6841 GB, free: 15.47 MB / 0.4981 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.8479, allocations: 79.98 kB / 0.6842 GB, free: 15.39 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03271/0.8806, allocations: 9.298 MB / 0.6933 GB, free: 6.004 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.03295/0.9136, allocations: 6.429 MB / 0.6995 GB, free: 15.53 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007036/0.9206, allocations: 2.035 MB / 0.7015 GB, free: 13.49 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04711/0.9677, allocations: 18.75 MB / 0.7198 GB, free: 10.04 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01171/0.9794, allocations: 0.5501 MB / 0.7204 GB, free: 9.492 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001753/0.9812, allocations: 0.5038 MB / 0.7209 GB, free: 8.992 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 792
 * Number of states: 0 ()
 * Number of discrete variables: 66 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],springDamperSeries.color[3],springDamperSeries.color[2],springDamperSeries.color[1],springDamperSeries.color_b[3],springDamperSeries.color_b[2],springDamperSeries.color_b[1],springDamperSeries.color_a[3],springDamperSeries.color_a[2],springDamperSeries.color_a[1],bar3.color[3],bar3.color[2],bar3.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],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])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (1091):
 * Single equations (assignments): 1076
 * Array equations: 3
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 9
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 6 systems
   {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)}
 * Non-linear Jacobian (size): 3 systems
   {4, 4, 4}
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(2,1,100.0%), (2,1,100.0%), (2,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.007423/0.9886, allocations: 2.723 MB / 0.7235 GB, free: 6.254 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00152/0.9901, allocations: 496.7 kB / 0.724 GB, free: 5.766 MB / 0.5294 GB
Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information.
Error: Too many equations, over-determined system. The model has 255 equation(s) and 244 variable(s).
Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!
Notification: Performance of <failed> postOpt wrapFunctionCalls (simulation): time 0.008249/0.9983, allocations: 2.616 MB / 0.7265 GB, free: 3.133 MB / 0.5294 GB
Error: post-optimization module wrapFunctionCalls (simulation) failed.
Error: Internal error SimCode DAEmode: The model Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses could not be translated
"
[Timeout remaining time 659]
[Calling sys.exit(0), Time elapsed: 3.1422077026218176]
Failed to read output from testmodel.py, exit status != 0:
['time', 'body1.frame_a.r_0[1]', 'body1.frame_a.r_0[2]', 'body1.frame_a.r_0[3]', 'body1.v_0[1]', 'body1.v_0[2]', 'body1.v_0[3]', 'body1.w_a[1]', 'body1.w_a[2]', 'body1.w_a[3]', 'body2.frame_a.r_0[1]', 'body2.frame_a.r_0[2]', 'body2.frame_a.r_0[3]', 'body2.v_0[1]', 'body2.v_0[2]', 'body2.v_0[3]', 'body2.w_a[1]', 'body2.w_a[2]', 'body2.w_a[3]', 'body3.frame_a.r_0[1]', 'body3.frame_a.r_0[2]', 'body3.frame_a.r_0[3]', 'body3.v_0[1]', 'body3.v_0[2]', 'body3.v_0[3]', 'body3.w_a[1]', 'body3.w_a[2]', 'body3.w_a[3]', 'springDamperSeries.s_damper']
1.0083006671629846 1.023998172 0.717004165
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f55b9ca1810>