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.001038/0.001038, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006512/0.006513, allocations: 168.3 kB / 16.26 MB, free: 6.652 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.645/1.645, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.004976/0.004976, allocations: 0.5543 MB / 292 MB, free: 1.578 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.000329, allocations: 12 kB / 353.3 MB, free: 2.488 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4484/0.4488, allocations: 50.57 MB / 403.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.003046/0.4519, allocations: 1.354 MB / 405.2 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003743/0.4523, allocations: 93.58 kB / 405.3 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.4524, allocations: 5.094 kB / 405.3 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.709e-05/0.4524, allocations: 10.58 kB / 405.3 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.4526, allocations: 28.44 kB / 405.3 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.4527, allocations: 21.19 kB / 405.4 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.4529, allocations: 101.6 kB / 405.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.4531, allocations: 31.36 kB / 405.5 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.856e-05/0.4532, allocations: 30.23 kB / 405.5 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.4533, allocations: 48.14 kB / 405.6 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.4534, allocations: 5.719 kB / 405.6 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.325e-05/0.4534, allocations: 8.844 kB / 405.6 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.4535, allocations: 14.69 kB / 405.6 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.4536, allocations: 69.45 kB / 405.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.4539, allocations: 103.4 kB / 405.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4539, allocations: 0 / 405.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4539, allocations: 0 / 405.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.4539, allocations: 0.6562 kB / 405.8 MB, free: 9.816 MB / 286.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.0005617/0.4545, allocations: 384.6 kB / 406.1 MB, free: 9.438 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.4545, allocations: 8.844 kB / 406.2 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.4546, allocations: 11.95 kB / 406.2 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.4548, allocations: 193.2 kB / 406.4 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.4548, allocations: 6.25 kB / 406.4 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.4549, allocations: 9.938 kB / 406.4 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.4551, allocations: 92.45 kB / 406.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.4551, allocations: 1.312 kB / 406.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.4552, allocations: 5.641 kB / 406.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.4552, allocations: 3.375 kB / 406.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.4553, allocations: 59.02 kB / 406.5 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007889/0.4561, allocations: 388.2 kB / 406.9 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.4565, allocations: 111.2 kB / 407 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.4566, allocations: 45.58 kB / 407.1 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.4567, allocations: 1.562 kB / 407.1 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.4567, allocations: 32.5 kB / 407.1 MB, free: 8.754 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.4567, allocations: 0 / 407.1 MB, free: 8.754 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001525/0.4582, allocations: 0.6899 MB / 407.8 MB, free: 8.168 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.4583, allocations: 54.47 kB / 407.8 MB, free: 8.105 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.4584, allocations: 123.1 kB / 408 MB, free: 7.996 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.4584, allocations: 25.7 kB / 408 MB, free: 7.965 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.4585, allocations: 103.6 kB / 408.1 MB, free: 7.863 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.382e-05/0.4586, allocations: 60.36 kB / 408.1 MB, free: 7.816 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.4586, allocations: 19.81 kB / 408.2 MB, free: 7.797 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.4587, allocations: 319.9 kB / 408.5 MB, free: 7.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-05/0.4588, allocations: 38.97 kB / 408.5 MB, free: 7.465 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.4589, allocations: 73.41 kB / 408.6 MB, free: 7.418 MB / 286.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.0008733/0.4598, allocations: 409.5 kB / 409 MB, free: 7.129 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4598, allocations: 0 / 409 MB, free: 7.129 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003797/0.4602, allocations: 171.8 kB / 409.2 MB, free: 7.035 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.4602, allocations: 6.219 kB / 409.2 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.4602, allocations: 1.031 kB / 409.2 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001974/0.4604, allocations: 36.06 kB / 409.2 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.4606, allocations: 27.39 kB / 409.2 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.4622, allocations: 1.446 MB / 410.7 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.762e-05/0.4623, allocations: 5.031 kB / 410.7 MB, free: 5.566 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.4623, allocations: 4.219 kB / 410.7 MB, free: 5.566 MB / 286.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.0001396/0.4624, allocations: 127.2 kB / 410.8 MB, free: 5.441 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.4625, allocations: 18.38 kB / 410.8 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.4625, allocations: 14.67 kB / 410.8 MB, free: 5.414 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4625, allocations: 2.75 kB / 410.8 MB, free: 5.414 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4625, allocations: 5.062 kB / 410.8 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4626, allocations: 0.7031 kB / 410.8 MB, free: 5.41 MB / 286.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.0008485/0.4634, allocations: 0.606 MB / 411.4 MB, free: 4.859 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4634, allocations: 9.391 kB / 411.5 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.4636, allocations: 24.44 kB / 411.5 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.047e-05/0.4637, allocations: 20.61 kB / 411.5 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.4637, allocations: 7.156 kB / 411.5 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009696/0.4647, allocations: 1.274 MB / 412.8 MB, free: 3.527 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4647, allocations: 1.438 kB / 412.8 MB, free: 3.527 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.4651, allocations: 306 kB / 413.1 MB, free: 3.297 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.4652, allocations: 90.64 kB / 413.2 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.4652, allocations: 7.438 kB / 413.2 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.922e-05/0.4653, allocations: 0 / 413.2 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.4653, allocations: 18.38 kB / 413.2 MB, free: 3.184 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.4653, allocations: 6.547 kB / 413.2 MB, free: 3.184 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.461e-05/0.4654, allocations: 91.67 kB / 413.3 MB, free: 3.105 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4654, allocations: 4.062 kB / 413.3 MB, free: 3.102 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.4657, allocations: 29.16 kB / 413.3 MB, free: 3.098 MB / 286.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 0.0001265/0.4659, allocations: 105 kB / 413.4 MB, free: 2.996 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005716/0.4665, allocations: 223.7 kB / 413.6 MB, free: 2.852 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4665, allocations: 1.469 kB / 413.6 MB, free: 2.852 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.4667, allocations: 173.7 kB / 413.8 MB, free: 2.715 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.4671, allocations: 17.92 kB / 413.8 MB, free: 2.711 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007402/0.4678, allocations: 480.4 kB / 414.3 MB, free: 2.352 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.468, allocations: 0.7083 MB / 415 MB, free: 1.652 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.46e-05/0.4681, allocations: 18.88 kB / 415 MB, free: 1.645 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.4681, allocations: 13.75 kB / 415 MB, free: 1.637 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4681, allocations: 0 / 415 MB, free: 1.637 MB / 286.1 MB Notification: Performance of Templates: time 0.00459/0.4727, allocations: 1.352 MB / 416.4 MB, free: 1.555 MB / 286.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)