Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002222/0.002222, allocations: 208.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 55.86 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2224, allocations: 53.37 MB / 432.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.01601/0.2384, allocations: 13.15 MB / 445.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009477/0.2479, allocations: 4.546 MB / 450 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.2492, allocations: 103.5 kB / 450.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006189/0.2554, allocations: 3.375 MB / 453.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00492/0.2603, allocations: 2.428 MB / 456 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.2622, allocations: 1.006 MB / 457 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007248/0.2694, allocations: 6.194 MB / 463.2 MB, free: 7.816 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004358/0.2738, allocations: 3.705 MB / 466.9 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002885/0.2767, allocations: 2.188 MB / 469 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003996/0.2807, allocations: 3.232 MB / 472.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007883/0.2814, allocations: 440 kB / 472.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.2838, allocations: 1.256 MB / 474 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002561/0.2863, allocations: 2.777 MB / 476.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002449/0.2888, allocations: 2.318 MB / 479.1 MB, free: 7.801 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009603/0.2984, allocations: 9.402 MB / 488.5 MB, free: 14.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2984, allocations: 0 / 488.5 MB, free: 14.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2984, allocations: 0 / 488.5 MB, free: 14.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001267/0.2985, allocations: 0 / 488.5 MB, free: 14.36 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.01296/0.3115, allocations: 6.932 MB / 495.4 MB, free: 7.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3115, allocations: 8.031 kB / 495.4 MB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/0.3228, allocations: 2.824 MB / 498.2 MB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006863/0.3297, allocations: 3.132 MB / 0.4896 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003027/0.33, allocations: 356.8 kB / 0.4899 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00174/0.3317, allocations: 0.675 MB / 0.4906 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03405/0.3658, allocations: 17.6 MB / 0.5078 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001499/0.3659, allocations: 63.45 kB / 0.5079 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006224/0.3665, allocations: 223.8 kB / 0.5081 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004527/0.3711, allocations: 2.843 MB / 0.5108 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03431/0.4054, allocations: 15.28 MB / 0.5258 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2597/0.6651, allocations: 55.05 MB / 0.5795 GB, free: 58.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01578/0.6809, allocations: 6.107 MB / 0.5855 GB, free: 55.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003385/0.6843, allocations: 3.121 MB / 0.5885 GB, free: 52.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01891/0.7032, allocations: 11.95 MB / 0.6002 GB, free: 40.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.7032, allocations: 68.12 kB / 0.6003 GB, free: 40.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=289): time 5.811e-06/0.7032, allocations: 4 kB / 0.6003 GB, free: 40.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=303): time 0.06275/0.766, allocations: 24.74 MB / 0.6244 GB, free: 15.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.766, allocations: 155.7 kB / 0.6246 GB, free: 15.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005498/0.7715, allocations: 4.845 MB / 0.6293 GB, free: 11.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005596/0.7721, allocations: 69.7 kB / 0.6294 GB, free: 10.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001536/0.7736, allocations: 4.359 MB / 0.6336 GB, free: 6.766 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008789/0.7745, allocations: 1.229 MB / 0.6348 GB, free: 5.551 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001826/0.7763, allocations: 1.735 MB / 0.6365 GB, free: 3.805 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.309e-05/0.7764, allocations: 305.1 kB / 0.6368 GB, free: 3.504 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00403/0.7804, allocations: 3.39 MB / 0.6401 GB, free: 108 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01034/0.7907, allocations: 8.345 MB / 0.6483 GB, free: 5.309 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01748/0.8082, allocations: 12.59 MB / 0.6606 GB, free: 6.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001482/0.8084, allocations: 55.94 kB / 0.6606 GB, free: 6.195 MB / 478.1 MB Notification: Performance of matching and sorting (n=1145) (initialization): time 0.04717/0.8555, allocations: 16.61 MB / 0.6769 GB, free: 5.504 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002185/0.8557, allocations: 80 kB / 0.6769 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03209/0.8878, allocations: 9.299 MB / 0.686 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03072/0.9186, allocations: 6.429 MB / 0.6923 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007129/0.9257, allocations: 2.031 MB / 0.6943 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02858/0.9543, allocations: 18.42 MB / 0.7123 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006663/0.9609, allocations: 0.5541 MB / 0.7128 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001413/0.9623, allocations: 0.496 MB / 0.7133 GB, free: 15.44 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.005094/0.9674, allocations: 2.715 MB / 0.7159 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/0.9685, allocations: 460.9 kB / 0.7164 GB, free: 12.26 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 postOpt wrapFunctionCalls (simulation): time 0.004909/0.9734, allocations: 2.572 MB / 0.7189 GB, free: 9.668 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.1329859149991535] 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.9817723200030741 0.995868411 0.694360552 Calling exit ...