Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004812/0.004812, allocations: 102 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 196.4 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002938/0.002938, allocations: 0.5656 MB / 291.1 MB, free: 14.14 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002045, allocations: 63.91 kB / 402.4 MB, free: 32.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08529/0.08735, allocations: 49.59 MB / 452 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.00305/0.09045, allocations: 1.645 MB / 453.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003549/0.09083, allocations: 99.61 kB / 453.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.575e-05/0.09093, allocations: 4 kB / 453.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.194e-05/0.091, allocations: 11.86 kB / 453.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.09114, allocations: 31.72 kB / 453.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.09128, allocations: 27.95 kB / 453.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.09142, allocations: 103.5 kB / 453.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.09156, allocations: 31.98 kB / 453.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.894e-05/0.09166, allocations: 51.78 kB / 454 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.044e-05/0.09176, allocations: 47.78 kB / 454 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.09179, allocations: 8 kB / 454 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.882e-05/0.09181, allocations: 8 kB / 454.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.09184, allocations: 19.92 kB / 454.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.0919, allocations: 51.73 kB / 454.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.09207, allocations: 111.6 kB / 454.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.09208, allocations: 0 / 454.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09208, allocations: 0 / 454.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.0921, allocations: 0 / 454.2 MB, free: 12.25 MB / 334.1 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.0005071/0.09261, allocations: 399.4 kB / 454.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.09266, allocations: 11.89 kB / 454.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.09271, allocations: 12.83 kB / 454.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.09289, allocations: 192.1 kB / 454.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.09291, allocations: 8.562 kB / 454.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.09295, allocations: 12.38 kB / 454.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.09314, allocations: 92.22 kB / 454.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.09316, allocations: 0 / 454.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.09318, allocations: 12 kB / 455 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.09319, allocations: 0 / 455 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.09332, allocations: 55.97 kB / 455 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.09392, allocations: 388.5 kB / 455.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.09413, allocations: 102.5 kB / 455.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.926e-05/0.09421, allocations: 45.06 kB / 455.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.09423, allocations: 3.938 kB / 455.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.09425, allocations: 30.56 kB / 455.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.09426, allocations: 0 / 455.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001152/0.09542, allocations: 0.6812 MB / 456.3 MB, free: 9.973 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.09547, allocations: 59.41 kB / 456.3 MB, free: 9.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/0.09557, allocations: 129.7 kB / 456.4 MB, free: 9.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.0956, allocations: 29.7 kB / 456.5 MB, free: 9.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.09567, allocations: 96.28 kB / 456.6 MB, free: 9.629 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.017e-05/0.09571, allocations: 55.19 kB / 456.6 MB, free: 9.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.09577, allocations: 37.7 kB / 456.6 MB, free: 9.531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.09589, allocations: 322.8 kB / 457 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-05/0.09596, allocations: 35.98 kB / 457 MB, free: 9.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.675e-05/0.09605, allocations: 66.45 kB / 457.1 MB, free: 9.098 MB / 334.1 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.0007789/0.09684, allocations: 425.3 kB / 457.5 MB, free: 8.641 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.09685, allocations: 0 / 457.5 MB, free: 8.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002581/0.09712, allocations: 158.3 kB / 457.6 MB, free: 8.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.09714, allocations: 8 kB / 457.6 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.09715, allocations: 0 / 457.6 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/0.09728, allocations: 24.84 kB / 457.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.999e-05/0.09739, allocations: 35.89 kB / 457.7 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.09852, allocations: 1.619 MB / 459.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.09859, allocations: 3.984 kB / 459.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.09863, allocations: 8.031 kB / 459.3 MB, free: 6.629 MB / 334.1 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 0.000107/0.09874, allocations: 129.7 kB / 459.5 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.09878, allocations: 15.81 kB / 459.5 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.09882, allocations: 12.84 kB / 459.5 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.09883, allocations: 3.984 kB / 459.5 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.09884, allocations: 8.062 kB / 459.5 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.09885, allocations: 0 / 459.5 MB, free: 6.457 MB / 334.1 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.0006419/0.0995, allocations: 0.598 MB / 460.1 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.09951, allocations: 3.938 kB / 460.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.09965, allocations: 23.98 kB / 460.1 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.896e-05/0.09972, allocations: 24.95 kB / 460.1 MB, free: 5.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.09974, allocations: 4.062 kB / 460.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008501/0.1006, allocations: 1.367 MB / 461.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.1006, allocations: 4.031 kB / 461.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.101, allocations: 306.6 kB / 461.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.101, allocations: 85.05 kB / 461.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.101, allocations: 11.98 kB / 461.9 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.515e-05/0.1011, allocations: 3.938 kB / 461.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.1012, allocations: 15.98 kB / 461.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.1012, allocations: 7.938 kB / 461.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.363e-05/0.1012, allocations: 92.8 kB / 462 MB, free: 3.641 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1012, allocations: 4.062 kB / 462 MB, free: 3.637 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003299/0.1016, allocations: 36 kB / 462.1 MB, free: 3.602 MB / 334.1 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 9.312e-05/0.1017, allocations: 91.25 kB / 462.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.1021, allocations: 226.3 kB / 462.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1021, allocations: 0 / 462.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.1023, allocations: 174.7 kB / 462.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.1027, allocations: 25.33 kB / 462.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006222/0.1033, allocations: 394.7 kB / 463 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.1036, allocations: 0.7085 MB / 463.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.484e-05/0.1036, allocations: 9.078 kB / 463.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.1037, allocations: 19.44 kB / 463.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1037, allocations: 0 / 463.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of Templates: time 0.004148/0.1078, allocations: 1.453 MB / 465.2 MB, free: 480 kB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)