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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001892/0.001892, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.15 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.003144/0.003144, allocations: 0.571 MB / 291.8 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.91 kB / 403.1 MB, free: 32.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07508/0.07646, allocations: 49.58 MB / 452.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002762/0.07927, allocations: 1.665 MB / 454.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003064/0.0796, allocations: 91.69 kB / 454.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.07969, allocations: 3.938 kB / 454.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.451e-05/0.07976, allocations: 19.84 kB / 454.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.07989, allocations: 31.7 kB / 454.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.08002, allocations: 19.98 kB / 454.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.08017, allocations: 103.5 kB / 454.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.08032, allocations: 39.98 kB / 454.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.538e-05/0.0804, allocations: 51.78 kB / 454.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.08053, allocations: 43.78 kB / 454.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.08055, allocations: 8 kB / 454.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.144e-05/0.08058, allocations: 8 kB / 454.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.08061, allocations: 23.92 kB / 454.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.13e-05/0.08067, allocations: 43.8 kB / 454.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.08082, allocations: 111.6 kB / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.08083, allocations: 0 / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.08084, allocations: 0 / 454.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.08085, allocations: 4 kB / 454.9 MB, free: 12.26 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.0004915/0.08135, allocations: 391.4 kB / 455.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.08139, allocations: 15.89 kB / 455.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.08144, allocations: 8.844 kB / 455.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.08162, allocations: 192.2 kB / 455.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.08164, allocations: 12.55 kB / 455.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.08167, allocations: 8.375 kB / 455.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.08185, allocations: 100.2 kB / 455.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.08187, allocations: 0 / 455.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.08189, allocations: 4 kB / 455.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.0819, allocations: 4 kB / 455.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.08202, allocations: 63.89 kB / 455.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.08255, allocations: 384.6 kB / 456.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.08273, allocations: 102.5 kB / 456.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.661e-05/0.0828, allocations: 40.95 kB / 456.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.08282, allocations: 4 kB / 456.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.08285, allocations: 30.56 kB / 456.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.08286, allocations: 0 / 456.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001055/0.08392, allocations: 0.6935 MB / 456.9 MB, free: 9.977 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.08396, allocations: 51.41 kB / 457 MB, free: 9.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.08407, allocations: 125.7 kB / 457.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.08409, allocations: 29.7 kB / 457.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.08417, allocations: 100.3 kB / 457.2 MB, free: 9.641 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.08421, allocations: 59.19 kB / 457.3 MB, free: 9.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/0.08427, allocations: 37.7 kB / 457.3 MB, free: 9.539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.08439, allocations: 326.8 kB / 457.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.507e-05/0.08446, allocations: 31.98 kB / 457.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.911e-05/0.08455, allocations: 62.5 kB / 457.8 MB, free: 9.109 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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/0.08512, allocations: 369.9 kB / 458.1 MB, free: 8.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.08513, allocations: 0 / 458.1 MB, free: 8.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001998/0.08534, allocations: 149.5 kB / 458.3 MB, free: 8.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.08536, allocations: 4 kB / 458.3 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.08537, allocations: 7.984 kB / 458.3 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.08539, allocations: 0 / 458.3 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.08556, allocations: 35.97 kB / 458.3 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.08558, allocations: 4 kB / 458.3 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.08563, allocations: 4 kB / 458.3 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.08565, allocations: 8.031 kB / 458.3 MB, free: 8.492 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.a = $START.mass2.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.08576, allocations: 133.7 kB / 458.5 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.0858, allocations: 7.906 kB / 458.5 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.231e-05/0.08585, allocations: 16.83 kB / 458.5 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.08586, allocations: 4 kB / 458.5 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.08587, allocations: 0 / 458.5 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.08588, allocations: 0 / 458.5 MB, free: 8.32 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.0006495/0.08653, allocations: 0.6057 MB / 459.1 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.08654, allocations: 0 / 459.1 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.08668, allocations: 31.92 kB / 459.1 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.711e-05/0.08678, allocations: 20.84 kB / 459.1 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.0868, allocations: 3.938 kB / 459.1 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009457/0.08776, allocations: 1.371 MB / 460.5 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.08777, allocations: 0 / 460.5 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.08811, allocations: 310.5 kB / 460.8 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.08818, allocations: 85.05 kB / 460.9 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.0882, allocations: 8.125 kB / 460.9 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.08829, allocations: 7.938 kB / 460.9 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.08832, allocations: 15.92 kB / 460.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.08834, allocations: 4 kB / 460.9 MB, free: 5.586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.414e-05/0.0884, allocations: 99.27 kB / 461 MB, free: 5.488 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0884, allocations: 0 / 461 MB, free: 5.488 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.08868, allocations: 28 kB / 461.1 MB, free: 5.461 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 0.0001003/0.08879, allocations: 99.19 kB / 461.2 MB, free: 5.355 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.08901, allocations: 103.6 kB / 461.3 MB, free: 5.258 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.08902, allocations: 0 / 461.3 MB, free: 5.258 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.08927, allocations: 166.6 kB / 461.4 MB, free: 5.082 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.0896, allocations: 23.38 kB / 461.4 MB, free: 5.062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006201/0.09023, allocations: 416.1 kB / 461.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.09051, allocations: 0.7084 MB / 462.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.09055, allocations: 15.44 kB / 462.6 MB, free: 3.863 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.09056, allocations: 0 / 462.6 MB, free: 3.863 MB / 334.1 MB Notification: Performance of Templates: time 0.003304/0.09387, allocations: 1.729 MB / 464.3 MB, free: 2.145 MB / 334.1 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)