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.001311/0.001311, 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.001421/0.001421, allocations: 216.5 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.431/1.431, allocations: 230.4 MB / 258.7 MB, free: 7.91 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.001962/0.001962, allocations: 63.89 kB / 379.4 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2156, allocations: 53.36 MB / 432.8 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.02427/0.2399, allocations: 15.09 MB / 447.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009183/0.2491, allocations: 4.783 MB / 452.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.2501, allocations: 103.5 kB / 452.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006037/0.2561, allocations: 3.515 MB / 456.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004376/0.2605, allocations: 2.419 MB / 458.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.2623, allocations: 1.002 MB / 459.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007389/0.2697, allocations: 6.202 MB / 465.9 MB, free: 5.801 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003928/0.2736, allocations: 3.379 MB / 469.3 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.2764, allocations: 2.192 MB / 471.4 MB, free: 160 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004377/0.2808, allocations: 3.228 MB / 474.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009624/0.2818, allocations: 444 kB / 475.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.2841, allocations: 1.264 MB / 476.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002719/0.2869, allocations: 2.766 MB / 479.1 MB, free: 8.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003521/0.2904, allocations: 3.087 MB / 482.2 MB, free: 5.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.303, allocations: 9.324 MB / 491.6 MB, free: 11.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.303, allocations: 0 / 491.6 MB, free: 11.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.303, allocations: 0 / 491.6 MB, free: 11.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001719/0.3032, allocations: 0 / 491.6 MB, free: 11.98 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.01876/0.3219, allocations: 6.936 MB / 498.5 MB, free: 4.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.322, allocations: 8.031 kB / 498.5 MB, free: 4.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01786/0.3398, allocations: 2.824 MB / 0.4896 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009221/0.3491, allocations: 3.116 MB / 0.4926 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004351/0.3495, allocations: 348.8 kB / 0.4929 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002562/0.3521, allocations: 0.675 MB / 0.4936 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04171/0.3938, allocations: 17.47 MB / 0.5107 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/0.3939, allocations: 59.52 kB / 0.5107 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005722/0.3945, allocations: 223.8 kB / 0.5109 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004439/0.3989, allocations: 2.851 MB / 0.5137 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03456/0.4335, allocations: 15.34 MB / 0.5287 GB, free: 8.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.239/0.6724, allocations: 58.4 MB / 0.5857 GB, free: 54.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01535/0.6878, allocations: 6.096 MB / 0.5917 GB, free: 50.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003235/0.691, allocations: 3.122 MB / 0.5947 GB, free: 47.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01567/0.7067, allocations: 12.69 MB / 0.6071 GB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.7067, allocations: 64.55 kB / 0.6072 GB, free: 34.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=289): time 5.3e-06/0.7067, allocations: 0 / 0.6072 GB, free: 34.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=303): time 0.05611/0.7628, allocations: 24.79 MB / 0.6314 GB, free: 10.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.7629, allocations: 158.5 kB / 0.6316 GB, free: 9.965 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004954/0.7678, allocations: 5.105 MB / 0.6365 GB, free: 4.965 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.7681, allocations: 73.7 kB / 0.6366 GB, free: 4.887 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001584/0.7696, allocations: 4.332 MB / 0.6408 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008943/0.7705, allocations: 1.225 MB / 0.642 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002411/0.773, allocations: 1.739 MB / 0.6437 GB, free: 13.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.7731, allocations: 305.1 kB / 0.644 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005699/0.7788, allocations: 3.39 MB / 0.6473 GB, free: 10.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009988/0.7888, allocations: 8.345 MB / 0.6555 GB, free: 15.33 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01706/0.8058, allocations: 12.59 MB / 0.6678 GB, free: 284 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.659e-05/0.8059, allocations: 48 kB / 0.6678 GB, free: 236 kB / 478.1 MB Notification: Performance of matching and sorting (n=1145) (initialization): time 0.04579/0.8517, allocations: 16.67 MB / 0.6841 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.8518, allocations: 80 kB / 0.6842 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03224/0.8841, allocations: 9.298 MB / 0.6933 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03113/0.9152, allocations: 6.429 MB / 0.6995 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00694/0.9221, allocations: 2.031 MB / 0.7015 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02906/0.9512, allocations: 18.75 MB / 0.7198 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00632/0.9575, allocations: 0.5519 MB / 0.7204 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007644/0.9583, allocations: 0.4961 MB / 0.7209 GB, free: 9.008 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.004136/0.9624, allocations: 2.722 MB / 0.7235 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008064/0.9632, allocations: 496.7 kB / 0.724 GB, free: 5.785 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.004819/0.968, allocations: 2.616 MB / 0.7265 GB, free: 3.152 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.120984274893999] 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'] 0.9763816301710904 0.990632793 0.684505652 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fb0e62bd810>