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.001705/0.001705, allocations: 113.1 kB / 21.86 MB, free: 68 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.001823/0.001823, allocations: 220.4 kB / 25.14 MB, free: 3.582 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.438/1.438, allocations: 230.5 MB / 258.8 MB, free: 8.152 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.003158/0.003158, allocations: 64.77 kB / 379.5 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2447, allocations: 53.38 MB / 432.8 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.01731/0.262, allocations: 15.04 MB / 447.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009725/0.2717, allocations: 4.776 MB / 452.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.2733, allocations: 103.5 kB / 452.8 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006556/0.2799, allocations: 3.515 MB / 456.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00555/0.2854, allocations: 2.422 MB / 458.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.2876, allocations: 1.006 MB / 459.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008335/0.2959, allocations: 6.203 MB / 465.9 MB, free: 5.809 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005145/0.3011, allocations: 3.698 MB / 469.6 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00348/0.3046, allocations: 2.184 MB / 471.8 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004885/0.3095, allocations: 3.236 MB / 475 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001282/0.3107, allocations: 444 kB / 475.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003008/0.3137, allocations: 1.256 MB / 476.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003116/0.3169, allocations: 2.773 MB / 479.5 MB, free: 8.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003427/0.3203, allocations: 3.091 MB / 482.6 MB, free: 5.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.3304, allocations: 9.397 MB / 492 MB, free: 11.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3304, allocations: 0 / 492 MB, free: 11.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3304, allocations: 0 / 492 MB, free: 11.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001789/0.3306, allocations: 4 kB / 492 MB, free: 11.59 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.01303/0.3436, allocations: 6.936 MB / 498.9 MB, free: 4.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3437, allocations: 12.03 kB / 498.9 MB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.3544, allocations: 2.824 MB / 0.49 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005737/0.3601, allocations: 3.108 MB / 0.493 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002954/0.3604, allocations: 352.8 kB / 0.4934 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001588/0.362, allocations: 0.6789 MB / 0.494 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03357/0.3956, allocations: 17.6 MB / 0.5112 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001349/0.3957, allocations: 59.5 kB / 0.5113 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000601/0.3963, allocations: 219.8 kB / 0.5115 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004458/0.4008, allocations: 2.847 MB / 0.5143 GB, free: 7.793 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03462/0.4354, allocations: 15.34 MB / 0.5292 GB, free: 8.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.245/0.6804, allocations: 58.4 MB / 0.5863 GB, free: 55.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01572/0.6961, allocations: 6.104 MB / 0.5922 GB, free: 49.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003707/0.6998, allocations: 3.125 MB / 0.5953 GB, free: 46.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01747/0.7173, allocations: 12.69 MB / 0.6077 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.7173, allocations: 64.56 kB / 0.6077 GB, free: 34.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=289): time 5.5e-06/0.7173, allocations: 0 / 0.6077 GB, free: 34.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=303): time 0.0584/0.7758, allocations: 24.79 MB / 0.6319 GB, free: 9.578 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.7758, allocations: 158.5 kB / 0.6321 GB, free: 9.391 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00561/0.7814, allocations: 5.105 MB / 0.6371 GB, free: 4.391 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003491/0.7817, allocations: 69.7 kB / 0.6371 GB, free: 4.316 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001568/0.7833, allocations: 4.338 MB / 0.6414 GB, free: 220 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001216/0.7845, allocations: 1.226 MB / 0.6426 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002367/0.7869, allocations: 1.735 MB / 0.6443 GB, free: 13.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.787, allocations: 305.1 kB / 0.6446 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005575/0.7926, allocations: 3.386 MB / 0.6479 GB, free: 9.535 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009648/0.8022, allocations: 8.353 MB / 0.656 GB, free: 14.73 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.017/0.8192, allocations: 12.59 MB / 0.6683 GB, free: 15.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/0.8193, allocations: 52 kB / 0.6684 GB, free: 15.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=1145) (initialization): time 0.04422/0.8636, allocations: 16.66 MB / 0.6846 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.8637, allocations: 80 kB / 0.6847 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03052/0.8942, allocations: 9.298 MB / 0.6938 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02976/0.924, allocations: 6.436 MB / 0.7001 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006717/0.9307, allocations: 2.031 MB / 0.7021 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02879/0.9595, allocations: 18.75 MB / 0.7204 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005873/0.9654, allocations: 0.558 MB / 0.7209 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/0.9664, allocations: 0.4961 MB / 0.7214 GB, free: 8.406 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.004568/0.971, allocations: 2.715 MB / 0.7241 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009562/0.972, allocations: 496.7 kB / 0.7245 GB, free: 5.188 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.005101/0.9771, allocations: 2.62 MB / 0.7271 GB, free: 2.547 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.093976648990065] 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.9877800429239869 1.00000609 0.6664110799999999 Calling exit ...