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.001282/0.001282, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001506/0.001505, allocations: 191.6 kB / 16.13 MB, free: 6.668 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.58/1.58, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.003842/0.003842, allocations: 0.5663 MB / 290.5 MB, free: 1.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 59.91 kB / 350.9 MB, free: 2.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1489, allocations: 49.59 MB / 400.5 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.3173/0.4663, allocations: 1.711 MB / 402.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003277/0.4666, allocations: 96.84 kB / 402.3 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.597e-05/0.4668, allocations: 1.875 kB / 402.3 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.781e-05/0.4669, allocations: 10.34 kB / 402.3 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.467, allocations: 31.92 kB / 402.3 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.4672, allocations: 24.03 kB / 402.3 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.4674, allocations: 101.2 kB / 402.4 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.4676, allocations: 30.95 kB / 402.5 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.145e-05/0.4677, allocations: 36.88 kB / 402.5 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.4678, allocations: 43.94 kB / 402.5 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.4678, allocations: 6.781 kB / 402.5 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.129e-05/0.4679, allocations: 8.969 kB / 402.6 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.278e-05/0.4679, allocations: 16.88 kB / 402.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.682e-05/0.468, allocations: 47.12 kB / 402.6 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.4682, allocations: 107.2 kB / 402.7 MB, free: 9.809 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4682, allocations: 0.7031 kB / 402.7 MB, free: 9.809 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4683, allocations: 1.281 kB / 402.7 MB, free: 9.809 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.4683, allocations: 3.938 kB / 402.7 MB, free: 9.805 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.0005981/0.4689, allocations: 396.5 kB / 403.1 MB, free: 9.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.4689, allocations: 9.484 kB / 403.1 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.763e-05/0.469, allocations: 15.22 kB / 403.1 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.4692, allocations: 184.7 kB / 403.3 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.4692, allocations: 8 kB / 403.3 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.4693, allocations: 14.2 kB / 403.3 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.4695, allocations: 97.14 kB / 403.4 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.4695, allocations: 0.7031 kB / 403.4 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.4695, allocations: 3.719 kB / 403.4 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.4696, allocations: 2.781 kB / 403.4 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.4697, allocations: 62.58 kB / 403.5 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/0.4704, allocations: 395.7 kB / 403.9 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.4706, allocations: 102.6 kB / 404 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.924e-05/0.4706, allocations: 35.59 kB / 404 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.4707, allocations: 2.375 kB / 404 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.4707, allocations: 34.47 kB / 404.1 MB, free: 8.805 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.4707, allocations: 0 / 404.1 MB, free: 8.805 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001358/0.4721, allocations: 0.683 MB / 404.7 MB, free: 8.328 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.4721, allocations: 52.56 kB / 404.8 MB, free: 8.266 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.4722, allocations: 125 kB / 404.9 MB, free: 8.168 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.4723, allocations: 33.7 kB / 405 MB, free: 8.133 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/0.4723, allocations: 101.7 kB / 405.1 MB, free: 8.043 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.4724, allocations: 63.44 kB / 405.1 MB, free: 8 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/0.4725, allocations: 30.69 kB / 405.1 MB, free: 7.984 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.4726, allocations: 320.4 kB / 405.5 MB, free: 7.672 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.243e-05/0.4726, allocations: 34.06 kB / 405.5 MB, free: 7.672 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.4728, allocations: 64.41 kB / 405.6 MB, free: 7.645 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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006969/0.4735, allocations: 375.5 kB / 405.9 MB, free: 7.422 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4735, allocations: 0 / 405.9 MB, free: 7.422 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002504/0.4737, allocations: 144 kB / 406.1 MB, free: 7.375 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4738, allocations: 6.109 kB / 406.1 MB, free: 7.375 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.4738, allocations: 1.094 kB / 406.1 MB, free: 7.375 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4738, allocations: 1.891 kB / 406.1 MB, free: 7.375 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.4741, allocations: 38.94 kB / 406.1 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.4741, allocations: 1.75 kB / 406.1 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.475e-05/0.4742, allocations: 4.75 kB / 406.1 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.4742, allocations: 11.88 kB / 406.1 MB, free: 7.367 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 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.0001139/0.4743, allocations: 138.5 kB / 406.3 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.4743, allocations: 13.22 kB / 406.3 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/0.4744, allocations: 15.2 kB / 406.3 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.4744, allocations: 1.812 kB / 406.3 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/0.4744, allocations: 5 kB / 406.3 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4745, allocations: 0.75 kB / 406.3 MB, free: 7.223 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.0008005/0.4753, allocations: 0.5989 MB / 406.9 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4753, allocations: 5.938 kB / 406.9 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.4754, allocations: 24.48 kB / 406.9 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001333/0.4756, allocations: 20.61 kB / 406.9 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.4756, allocations: 6.094 kB / 406.9 MB, free: 6.699 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008351/0.4764, allocations: 1.271 MB / 408.2 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.4764, allocations: 1.547 kB / 408.2 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.4768, allocations: 308.2 kB / 408.5 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.4769, allocations: 87.98 kB / 408.6 MB, free: 5.055 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.4769, allocations: 2.219 kB / 408.6 MB, free: 5.055 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.4771, allocations: 6.156 kB / 408.6 MB, free: 5.051 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.4771, allocations: 11.25 kB / 408.6 MB, free: 5.051 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.4771, allocations: 4 kB / 408.6 MB, free: 5.051 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.737e-05/0.4772, allocations: 100.4 kB / 408.7 MB, free: 4.965 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4772, allocations: 64 / 408.7 MB, free: 4.965 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.4776, allocations: 31.59 kB / 408.8 MB, free: 4.957 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.0001374/0.4777, allocations: 102.8 kB / 408.9 MB, free: 4.863 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.478, allocations: 92.95 kB / 409 MB, free: 4.84 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.478, allocations: 0 / 409 MB, free: 4.84 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.4782, allocations: 170.6 kB / 409.1 MB, free: 4.711 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.4786, allocations: 25.34 kB / 409.1 MB, free: 4.699 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006974/0.4793, allocations: 434.7 kB / 409.6 MB, free: 4.359 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.4795, allocations: 0.7069 MB / 410.3 MB, free: 3.66 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.749e-05/0.4795, allocations: 15.17 kB / 410.3 MB, free: 3.656 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.4796, allocations: 14.41 kB / 410.3 MB, free: 3.648 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.4796, allocations: 0 / 410.3 MB, free: 3.648 MB / 286.1 MB Notification: Performance of Templates: time 0.004875/0.4845, allocations: 1.309 MB / 411.6 MB, free: 3.562 MB / 286.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)