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.0009385/0.0009385, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007681/0.007681, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.61/1.61, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.004817/0.004817, allocations: 0.5581 MB / 292 MB, free: 1.559 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 8 kB / 353.3 MB, free: 2.477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.4432, allocations: 50.57 MB / 403.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002866/0.4461, allocations: 1.364 MB / 405.2 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002727/0.4464, allocations: 93.55 kB / 405.3 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.4465, allocations: 5.906 kB / 405.3 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.4465, allocations: 10.86 kB / 405.3 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.655e-05/0.4466, allocations: 26.52 kB / 405.4 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000104/0.4467, allocations: 23.02 kB / 405.4 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.4469, allocations: 102 kB / 405.5 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.4471, allocations: 34.14 kB / 405.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.328e-05/0.4471, allocations: 34.59 kB / 405.5 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.331e-05/0.4472, allocations: 42.42 kB / 405.6 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.4473, allocations: 4.719 kB / 405.6 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.186e-05/0.4473, allocations: 4.594 kB / 405.6 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.399e-05/0.4473, allocations: 17.22 kB / 405.6 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.399e-05/0.4474, allocations: 68.42 kB / 405.7 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.4476, allocations: 106.3 kB / 405.8 MB, free: 9.824 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.4476, allocations: 0 / 405.8 MB, free: 9.824 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4477, allocations: 4 kB / 405.8 MB, free: 9.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.4477, allocations: 1.031 kB / 405.8 MB, free: 9.82 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.000395/0.4481, allocations: 380.9 kB / 406.2 MB, free: 9.445 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.4481, allocations: 11.12 kB / 406.2 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.4481, allocations: 9.156 kB / 406.2 MB, free: 9.441 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.4483, allocations: 190.4 kB / 406.4 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.4483, allocations: 7.688 kB / 406.4 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.4484, allocations: 17.19 kB / 406.4 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.4486, allocations: 93.23 kB / 406.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4486, allocations: 1.75 kB / 406.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.4486, allocations: 3.344 kB / 406.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.4486, allocations: 2.75 kB / 406.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.4488, allocations: 62.95 kB / 406.6 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005942/0.4494, allocations: 394.2 kB / 406.9 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.4496, allocations: 102.3 kB / 407 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.519e-05/0.4497, allocations: 38.7 kB / 407.1 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.4497, allocations: 2.188 kB / 407.1 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.4498, allocations: 32.59 kB / 407.1 MB, free: 8.758 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.4498, allocations: 4 kB / 407.1 MB, free: 8.754 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001201/0.451, allocations: 0.6855 MB / 407.8 MB, free: 8.172 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.451, allocations: 54.22 kB / 407.8 MB, free: 8.109 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.4511, allocations: 119.1 kB / 408 MB, free: 8.004 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.4512, allocations: 26.8 kB / 408 MB, free: 7.973 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.4512, allocations: 106.2 kB / 408.1 MB, free: 7.867 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.382e-05/0.4513, allocations: 60.88 kB / 408.2 MB, free: 7.82 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.4513, allocations: 20.08 kB / 408.2 MB, free: 7.801 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.668e-05/0.4514, allocations: 320.6 kB / 408.5 MB, free: 7.484 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.4515, allocations: 39 kB / 408.5 MB, free: 7.469 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.608e-05/0.4516, allocations: 64.61 kB / 408.6 MB, free: 7.426 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.0006441/0.4523, allocations: 379 kB / 409 MB, free: 7.137 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4523, allocations: 0.5312 kB / 409 MB, free: 7.137 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000245/0.4525, allocations: 141.9 kB / 409.1 MB, free: 7.062 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4526, allocations: 6.359 kB / 409.1 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4526, allocations: 5.094 kB / 409.1 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.4526, allocations: 1.688 kB / 409.1 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.4528, allocations: 39.16 kB / 409.1 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4528, allocations: 1.312 kB / 409.2 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.4528, allocations: 1.125 kB / 409.2 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.4529, allocations: 8.438 kB / 409.2 MB, free: 7.051 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.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.0001025/0.453, allocations: 136.5 kB / 409.3 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.453, allocations: 12.12 kB / 409.3 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.4531, allocations: 23.7 kB / 409.3 MB, free: 6.887 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.4531, allocations: 2.234 kB / 409.3 MB, free: 6.887 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4531, allocations: 1.219 kB / 409.3 MB, free: 6.887 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4531, allocations: 0.6562 kB / 409.3 MB, free: 6.887 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.0007305/0.4538, allocations: 0.603 MB / 409.9 MB, free: 6.336 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4538, allocations: 1.812 kB / 409.9 MB, free: 6.336 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.454, allocations: 28.38 kB / 410 MB, free: 6.332 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.4541, allocations: 23.77 kB / 410 MB, free: 6.316 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.4541, allocations: 8.906 kB / 410 MB, free: 6.312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007293/0.4549, allocations: 1.268 MB / 411.3 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4549, allocations: 1.375 kB / 411.3 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.4553, allocations: 301.4 kB / 411.6 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.4553, allocations: 94.11 kB / 411.7 MB, free: 4.668 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.4553, allocations: 3.219 kB / 411.7 MB, free: 4.668 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.4554, allocations: 6.094 kB / 411.7 MB, free: 4.664 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.4555, allocations: 9.969 kB / 411.7 MB, free: 4.664 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.4555, allocations: 8.719 kB / 411.7 MB, free: 4.66 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.825e-05/0.4555, allocations: 96.89 kB / 411.8 MB, free: 4.578 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4556, allocations: 0 / 411.8 MB, free: 4.578 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.4558, allocations: 31.84 kB / 411.8 MB, free: 4.57 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.0001179/0.456, allocations: 101.6 kB / 411.9 MB, free: 4.477 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.4562, allocations: 95.86 kB / 412 MB, free: 4.453 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4562, allocations: 5.062 kB / 412 MB, free: 4.449 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.4565, allocations: 167.6 kB / 412.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.4569, allocations: 25.88 kB / 412.2 MB, free: 4.309 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007481/0.4576, allocations: 482.1 kB / 412.7 MB, free: 3.945 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.4579, allocations: 0.7059 MB / 413.4 MB, free: 3.246 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.78e-05/0.4579, allocations: 12.22 kB / 413.4 MB, free: 3.246 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.458, allocations: 15.03 kB / 413.4 MB, free: 3.238 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.458, allocations: 0 / 413.4 MB, free: 3.238 MB / 286.1 MB Notification: Performance of Templates: time 0.005262/0.4633, allocations: 1.295 MB / 414.7 MB, free: 3.156 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)