Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.002481/0.002481, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002945/0.002945, allocations: 169.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.553/1.553, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.003524/0.003524, allocations: 424.2 kB / 260 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) 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(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 329.4 MB, free: 19.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.607e-05, allocations: 4.703 kB / 329.4 MB, free: 19.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.002116/0.002142, allocations: 1.67 MB / 331.1 MB, free: 17.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002322/0.002374, allocations: 99.62 kB / 331.2 MB, free: 17.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.002431, allocations: 0 / 331.2 MB, free: 17.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.293e-05/0.002474, allocations: 11.86 kB / 331.2 MB, free: 17.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.002574, allocations: 31.7 kB / 331.2 MB, free: 17.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001028/0.002677, allocations: 23.97 kB / 331.2 MB, free: 17.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.002779, allocations: 115.4 kB / 331.3 MB, free: 17.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.002882, allocations: 31.92 kB / 331.4 MB, free: 17.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.307e-05/0.002975, allocations: 59.88 kB / 331.4 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.852e-05/0.003054, allocations: 35.89 kB / 331.5 MB, free: 17.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.003075, allocations: 8 kB / 331.5 MB, free: 17.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.926e-05/0.003094, allocations: 8 kB / 331.5 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.003114, allocations: 19.92 kB / 331.5 MB, free: 17.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.003152, allocations: 35.91 kB / 331.5 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.003283, allocations: 111.6 kB / 331.6 MB, free: 17.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003285, allocations: 4 kB / 331.6 MB, free: 17.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003286, allocations: 0 / 331.6 MB, free: 17.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.00329, allocations: 4 kB / 331.7 MB, free: 17.37 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004192/0.003709, allocations: 432.2 kB / 332.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.003739, allocations: 8.031 kB / 332.1 MB, free: 16.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.003794, allocations: 16.89 kB / 332.1 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.00391, allocations: 140.4 kB / 332.2 MB, free: 16.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.003923, allocations: 8.562 kB / 332.2 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.003947, allocations: 12.38 kB / 332.3 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.004095, allocations: 86.72 kB / 332.3 MB, free: 16.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.004109, allocations: 11.95 kB / 332.4 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.004121, allocations: 4 kB / 332.4 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.004125, allocations: 0 / 332.4 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.004227, allocations: 62.95 kB / 332.4 MB, free: 16.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.004653, allocations: 367.5 kB / 332.8 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.004802, allocations: 115.1 kB / 332.9 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.004855, allocations: 43.83 kB / 332.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.00487, allocations: 3.938 kB / 332.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.129e-05/0.004881, allocations: 37.39 kB / 333 MB, free: 15.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.004882, allocations: 4 kB / 333 MB, free: 15.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008432/0.005725, allocations: 0.557 MB / 333.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.005743, allocations: 55.34 kB / 333.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.005809, allocations: 181.9 kB / 333.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.005819, allocations: 29.7 kB / 333.8 MB, free: 15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.005855, allocations: 142.8 kB / 333.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.005884, allocations: 67.42 kB / 334 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.005932, allocations: 51.31 kB / 334 MB, free: 14.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.644e-05/0.005988, allocations: 0.4962 MB / 334.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.409e-05/0.006042, allocations: 39.92 kB / 334.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.344e-05/0.006106, allocations: 71.05 kB / 334.7 MB, free: 14.1 MB / 266.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005776/0.006683, allocations: 274.3 kB / 334.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.006685, allocations: 0 / 334.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002212/0.006906, allocations: 177.2 kB / 335.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.006917, allocations: 4 kB / 335.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.006921, allocations: 4 kB / 335.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.007054, allocations: 31.67 kB / 335.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.007142, allocations: 31.92 kB / 335.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008388/0.007981, allocations: 2.098 MB / 337.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.008028, allocations: 8 kB / 337.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.008036, allocations: 4 kB / 337.3 MB, free: 11.33 MB / 266.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: mass1.v = $START.mass1.v mass2.s = $START.mass2.s. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.335e-05/0.008109, allocations: 180.2 kB / 337.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.008143, allocations: 15.89 kB / 337.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.008174, allocations: 12.78 kB / 337.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.008177, allocations: 4 kB / 337.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.008179, allocations: 3.938 kB / 337.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.008182, allocations: 0 / 337.5 MB, free: 11.11 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.008656, allocations: 0.5118 MB / 338 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.008658, allocations: 4 kB / 338 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.008773, allocations: 27.98 kB / 338 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.498e-05/0.008838, allocations: 19.69 kB / 338 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.008849, allocations: 11.94 kB / 338.1 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005686/0.009418, allocations: 1.771 MB / 339.8 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.00942, allocations: 3.938 kB / 339.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.009681, allocations: 374.5 kB / 340.2 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.009693, allocations: 7.953 kB / 340.2 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.009708, allocations: 4 kB / 340.2 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.009784, allocations: 11.88 kB / 340.2 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.009813, allocations: 16.12 kB / 340.2 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.009821, allocations: 12 kB / 340.2 MB, free: 8.121 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.296e-05/0.009854, allocations: 131.2 kB / 340.4 MB, free: 7.992 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009854, allocations: 0 / 340.4 MB, free: 7.992 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002982/0.01015, allocations: 28 kB / 340.4 MB, free: 7.965 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.35e-05/0.01023, allocations: 103.2 kB / 340.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003559/0.01058, allocations: 296.4 kB / 340.8 MB, free: 7.547 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01058, allocations: 4.062 kB / 340.8 MB, free: 7.543 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.01073, allocations: 237.4 kB / 341 MB, free: 7.289 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.01105, allocations: 19.92 kB / 341.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.01152, allocations: 363.6 kB / 341.4 MB, free: 6.875 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.005e-05/0.01157, allocations: 100.7 kB / 341.5 MB, free: 6.758 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.133e-05/0.01161, allocations: 4.656 kB / 341.5 MB, free: 6.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.01164, allocations: 16.5 kB / 341.5 MB, free: 6.734 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01164, allocations: 0 / 341.5 MB, free: 6.734 MB / 266.7 MB Notification: Performance of Templates: time 0.004405/0.01604, allocations: 1.53 MB / 343.1 MB, free: 5.285 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.419933250988834]