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-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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.00106/0.00106, allocations: 182.9 kB / 15.98 MB, free: 5.77 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.369/1.369, allocations: 222.9 MB / 239.6 MB, free: 11 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.001017/0.001018, allocations: 104.8 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002971/0.002971, allocations: 0.5651 MB / 340.6 MB, free: 8.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009991/0.0009991, allocations: 59.61 kB / 400.9 MB, free: 66.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08405/0.08506, allocations: 49.6 MB / 450.5 MB, free: 16.47 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002845/0.08797, allocations: 1.705 MB / 452.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002477/0.08824, allocations: 99.61 kB / 452.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.08831, allocations: 0 / 452.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.818e-05/0.08838, allocations: 11.92 kB / 452.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.918e-05/0.08849, allocations: 31.77 kB / 452.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.08863, allocations: 19.98 kB / 452.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.08875, allocations: 107.5 kB / 452.5 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.08889, allocations: 39.83 kB / 452.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.789e-05/0.08896, allocations: 31.92 kB / 452.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.267e-05/0.08905, allocations: 43.78 kB / 452.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.08907, allocations: 4 kB / 452.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.129e-05/0.0891, allocations: 12 kB / 452.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.08913, allocations: 19.92 kB / 452.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.089e-05/0.08918, allocations: 47.73 kB / 452.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.08931, allocations: 99.95 kB / 452.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.08933, allocations: 0 / 452.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.08933, allocations: 0 / 452.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.08934, allocations: 0 / 452.8 MB, free: 14.2 MB / 298.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.0004098/0.08976, allocations: 407.3 kB / 453.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.08979, allocations: 12.03 kB / 453.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.08983, allocations: 8.844 kB / 453.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.08996, allocations: 196.1 kB / 453.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.08998, allocations: 8.562 kB / 453.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.09003, allocations: 8.375 kB / 453.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.09019, allocations: 93.97 kB / 453.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.09021, allocations: 0 / 453.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.09023, allocations: 8 kB / 453.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.09024, allocations: 0 / 453.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.332e-05/0.09034, allocations: 67.83 kB / 453.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.09076, allocations: 384.6 kB / 454 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.09092, allocations: 90.56 kB / 454.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.09098, allocations: 40.84 kB / 454.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.091, allocations: 4 kB / 454.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.09102, allocations: 34.56 kB / 454.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.09102, allocations: 3.984 kB / 454.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008614/0.09189, allocations: 0.6883 MB / 454.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.09192, allocations: 59.39 kB / 454.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.189e-05/0.092, allocations: 122.9 kB / 455 MB, free: 11.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.09202, allocations: 25.7 kB / 455 MB, free: 11.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.09206, allocations: 104.3 kB / 455.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.0921, allocations: 55.2 kB / 455.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.09215, allocations: 37.62 kB / 455.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.0922, allocations: 318.8 kB / 455.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.093e-05/0.09226, allocations: 39.98 kB / 455.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.203e-05/0.09233, allocations: 66.5 kB / 455.6 MB, free: 11.04 MB / 298.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: 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.0004568/0.09279, allocations: 366.1 kB / 456 MB, free: 10.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.0928, allocations: 0 / 456 MB, free: 10.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001546/0.09296, allocations: 148.6 kB / 456.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.09298, allocations: 8 kB / 456.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.09299, allocations: 0 / 456.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.093, allocations: 0 / 456.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.09316, allocations: 39.97 kB / 456.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.09318, allocations: 7.922 kB / 456.2 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.09322, allocations: 4 kB / 456.2 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.09324, allocations: 7.938 kB / 456.2 MB, free: 10.43 MB / 298.7 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 6.758e-05/0.09331, allocations: 133.8 kB / 456.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.09334, allocations: 7.906 kB / 456.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.09338, allocations: 20.83 kB / 456.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.09339, allocations: 0 / 456.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.0934, allocations: 4 kB / 456.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.09341, allocations: 0 / 456.4 MB, free: 10.25 MB / 298.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.0004622/0.09388, allocations: 0.6019 MB / 457 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.09389, allocations: 0 / 457 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.09402, allocations: 24.23 kB / 457 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001/0.09412, allocations: 20.86 kB / 457 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.09414, allocations: 11.92 kB / 457 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006409/0.09479, allocations: 1.272 MB / 458.3 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.0948, allocations: 0 / 458.3 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.09642, allocations: 2.798 MB / 461.1 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.09645, allocations: 85.05 kB / 461.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.09647, allocations: 0 / 461.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.09655, allocations: 8 kB / 461.2 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.09659, allocations: 11.92 kB / 461.2 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.0966, allocations: 16.19 kB / 461.2 MB, free: 4.852 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.413e-05/0.09664, allocations: 99.64 kB / 461.3 MB, free: 4.754 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09664, allocations: 0 / 461.3 MB, free: 4.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003211/0.09697, allocations: 36 kB / 461.3 MB, free: 4.719 MB / 298.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 (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 7.964e-05/0.09706, allocations: 107.1 kB / 461.5 MB, free: 4.602 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.09724, allocations: 99.89 kB / 461.6 MB, free: 4.504 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.09726, allocations: 4.062 kB / 461.6 MB, free: 4.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.09746, allocations: 166.6 kB / 461.7 MB, free: 4.324 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.09777, allocations: 17.12 kB / 461.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/0.09849, allocations: 0.701 MB / 462.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.09863, allocations: 0.7088 MB / 463.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.775e-05/0.09869, allocations: 13.08 kB / 463.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.09873, allocations: 15.44 kB / 463.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of SimCode: time 7.42e-07/0.09873, allocations: 0 / 463.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of Templates: time 0.003443/0.1022, allocations: 1.587 MB / 464.8 MB, free: 1.25 MB / 298.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)