Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 174.3 kB / 16.12 MB, free: 5.672 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.3 MB / 240.1 MB, free: 9.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007254/0.0007254, allocations: 97.11 kB / 291.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002182/0.002182, allocations: 0.5547 MB / 343 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005037, allocations: 9.312 kB / 404.2 MB, free: 65.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.104, allocations: 50.57 MB / 454.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.354/0.458, allocations: 76.6 MB / 0.5189 GB, free: 5.477 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.4583, allocations: 67.84 kB / 0.519 GB, free: 5.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007761/0.4661, allocations: 2.968 MB / 0.5219 GB, free: 2.941 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4661, allocations: 0 / 0.5219 GB, free: 2.941 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.4661, allocations: 0 / 0.5219 GB, free: 2.941 MB / 330.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.0004409/0.4666, allocations: 386.8 kB / 0.5222 GB, free: 2.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.4666, allocations: 12.03 kB / 0.5223 GB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.4667, allocations: 12.84 kB / 0.5223 GB, free: 2.496 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.4668, allocations: 180.1 kB / 0.5224 GB, free: 2.281 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.4668, allocations: 8.938 kB / 0.5224 GB, free: 2.277 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.4669, allocations: 11.81 kB / 0.5225 GB, free: 2.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.467, allocations: 94.34 kB / 0.5225 GB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.4671, allocations: 0 / 0.5225 GB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.4671, allocations: 7.562 kB / 0.5226 GB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.4671, allocations: 0 / 0.5226 GB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.4672, allocations: 54.34 kB / 0.5226 GB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.4678, allocations: 393.6 kB / 0.523 GB, free: 1.766 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.468, allocations: 103.4 kB / 0.5231 GB, free: 1.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.489e-05/0.4681, allocations: 40.34 kB / 0.5231 GB, free: 1.648 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.4681, allocations: 4 kB / 0.5231 GB, free: 1.645 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.4681, allocations: 34.06 kB / 0.5232 GB, free: 1.605 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.4681, allocations: 0 / 0.5232 GB, free: 1.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001062/0.4692, allocations: 0.6802 MB / 0.5238 GB, free: 0.9336 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.4692, allocations: 59.34 kB / 0.5239 GB, free: 0.8633 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.706e-05/0.4693, allocations: 117.2 kB / 0.524 GB, free: 0.7461 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.4694, allocations: 29.14 kB / 0.524 GB, free: 0.7148 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.4694, allocations: 99.61 kB / 0.5241 GB, free: 0.6172 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.4695, allocations: 61.91 kB / 0.5242 GB, free: 0.5625 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.4695, allocations: 3.875 kB / 0.5242 GB, free: 0.5625 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4696, allocations: 321.8 kB / 0.5245 GB, free: 248 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.854e-05/0.4697, allocations: 31.64 kB / 0.5245 GB, free: 228 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.191e-05/0.4698, allocations: 73.47 kB / 0.5246 GB, free: 164 kB / 330.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: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.a = $START.mass1.a ($START.mass2.a = $START.mass1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006037/0.4704, allocations: 363.8 kB / 0.5249 GB, free: 15.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.4704, allocations: 7.938 kB / 0.5249 GB, free: 15.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002032/0.4706, allocations: 145 kB / 0.5251 GB, free: 15.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4706, allocations: 4 kB / 0.5251 GB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.4706, allocations: 0 / 0.5251 GB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4707, allocations: 4 kB / 0.5251 GB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.4708, allocations: 39.67 kB / 0.5251 GB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4708, allocations: 0 / 0.5251 GB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.4709, allocations: 4 kB / 0.5251 GB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.4709, allocations: 7.812 kB / 0.5251 GB, free: 15.65 MB / 346.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: mass2.v = $START.mass2.v mass1.a = $START.mass1.a. 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.471, allocations: 129.4 kB / 0.5253 GB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.4711, allocations: 15.84 kB / 0.5253 GB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.4711, allocations: 19.34 kB / 0.5253 GB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4711, allocations: 4 kB / 0.5253 GB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.4711, allocations: 0 / 0.5253 GB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4711, allocations: 3.984 kB / 0.5253 GB, free: 15.48 MB / 346.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.0006807/0.4718, allocations: 0.5933 MB / 0.5259 GB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4718, allocations: 0 / 0.5259 GB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.472, allocations: 27.31 kB / 0.5259 GB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.4721, allocations: 20.84 kB / 0.5259 GB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.4721, allocations: 7.625 kB / 0.5259 GB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009931/0.4731, allocations: 1.282 MB / 0.5272 GB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4731, allocations: 0 / 0.5272 GB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.4735, allocations: 305.2 kB / 0.5275 GB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.4736, allocations: 88.48 kB / 0.5276 GB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.4736, allocations: 0 / 0.5276 GB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.4737, allocations: 7.188 kB / 0.5276 GB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.4737, allocations: 12.05 kB / 0.5276 GB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.4737, allocations: 7 kB / 0.5276 GB, free: 13.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.96e-05/0.4738, allocations: 94.52 kB / 0.5277 GB, free: 12.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4738, allocations: 0 / 0.5277 GB, free: 12.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003213/0.4741, allocations: 34.62 kB / 0.5277 GB, free: 12.92 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001303/0.4742, allocations: 102.9 kB / 0.5278 GB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.4745, allocations: 106.3 kB / 0.5279 GB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4745, allocations: 0 / 0.5279 GB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.4747, allocations: 169.3 kB / 0.5281 GB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.4751, allocations: 16.7 kB / 0.5281 GB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007704/0.4759, allocations: 464.4 kB / 0.5285 GB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.4762, allocations: 0.7048 MB / 0.5292 GB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.814e-05/0.4763, allocations: 12.64 kB / 0.5292 GB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.4763, allocations: 19.38 kB / 0.5292 GB, free: 11.34 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4763, allocations: 0 / 0.5292 GB, free: 11.34 MB / 346.7 MB Notification: Performance of Templates: time 0.00376/0.4801, allocations: 1.261 MB / 0.5305 GB, free: 10.14 MB / 346.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1)