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.000992/0.0009919, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 185.4 kB / 16.92 MB, free: 6.895 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.34/1.34, allocations: 223.3 MB / 241 MB, free: 5.258 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.002498/0.002498, allocations: 0.5469 MB / 292.6 MB, free: 1.504 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003229, allocations: 8 kB / 353.9 MB, free: 2.492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2701, allocations: 50.57 MB / 404.5 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002071/0.2722, allocations: 1.364 MB / 405.9 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000263/0.2725, allocations: 94.27 kB / 406 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.2726, allocations: 6.188 kB / 406 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.929e-05/0.2726, allocations: 10.7 kB / 406 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2727, allocations: 26.31 kB / 406 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.2729, allocations: 23.12 kB / 406 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.273, allocations: 101.6 kB / 406.1 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.2732, allocations: 32.91 kB / 406.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.304e-05/0.2732, allocations: 35.73 kB / 406.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.954e-05/0.2734, allocations: 43.16 kB / 406.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.2734, allocations: 4.906 kB / 406.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.097e-05/0.2734, allocations: 5.344 kB / 406.3 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.2734, allocations: 15.31 kB / 406.3 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.817e-05/0.2735, allocations: 72.09 kB / 406.3 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.2737, allocations: 80.75 kB / 406.4 MB, free: 9.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2737, allocations: 0 / 406.4 MB, free: 9.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2737, allocations: 4.938 kB / 406.4 MB, free: 9.816 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2737, allocations: 4 kB / 406.4 MB, free: 9.812 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.0004098/0.2741, allocations: 379.9 kB / 406.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2742, allocations: 9.984 kB / 406.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.2742, allocations: 15.16 kB / 406.8 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.2744, allocations: 190.8 kB / 407 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.2744, allocations: 7.75 kB / 407 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.2744, allocations: 10.59 kB / 407 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.2746, allocations: 97.77 kB / 407.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2747, allocations: 0 / 407.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.2747, allocations: 3.75 kB / 407.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2747, allocations: 1.969 kB / 407.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.2748, allocations: 63.44 kB / 407.2 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.2754, allocations: 394.3 kB / 407.6 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.2755, allocations: 103.5 kB / 407.7 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.55e-05/0.2756, allocations: 38.11 kB / 407.7 MB, free: 8.805 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.2756, allocations: 2.094 kB / 407.7 MB, free: 8.805 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.2757, allocations: 32.86 kB / 407.7 MB, free: 8.766 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.2757, allocations: 0 / 407.7 MB, free: 8.766 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009978/0.2767, allocations: 0.6862 MB / 408.4 MB, free: 8.184 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.2767, allocations: 53.75 kB / 408.5 MB, free: 8.121 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.297e-05/0.2768, allocations: 120.8 kB / 408.6 MB, free: 8.016 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.2768, allocations: 26.36 kB / 408.6 MB, free: 7.984 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.2769, allocations: 103.3 kB / 408.7 MB, free: 7.883 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.2769, allocations: 62.12 kB / 408.8 MB, free: 7.832 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.2769, allocations: 21.3 kB / 408.8 MB, free: 7.812 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.277, allocations: 320 kB / 409.1 MB, free: 7.496 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.324e-05/0.2771, allocations: 38.77 kB / 409.2 MB, free: 7.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.124e-05/0.2771, allocations: 66.16 kB / 409.2 MB, free: 7.438 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.0005511/0.2777, allocations: 378.2 kB / 409.6 MB, free: 7.148 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2777, allocations: 0 / 409.6 MB, free: 7.148 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001999/0.2779, allocations: 138.6 kB / 409.7 MB, free: 7.074 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2779, allocations: 5.5 kB / 409.7 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.278, allocations: 1.156 kB / 409.7 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.278, allocations: 5.156 kB / 409.7 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.2782, allocations: 37.08 kB / 409.8 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.2782, allocations: 2.516 kB / 409.8 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.2782, allocations: 5.469 kB / 409.8 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.2782, allocations: 4.375 kB / 409.8 MB, free: 7.062 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 7.699e-05/0.2783, allocations: 141.1 kB / 409.9 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.2784, allocations: 12.22 kB / 409.9 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/0.2784, allocations: 15.69 kB / 410 MB, free: 6.902 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2784, allocations: 7.016 kB / 410 MB, free: 6.898 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.2784, allocations: 1.469 kB / 410 MB, free: 6.898 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2784, allocations: 0 / 410 MB, free: 6.898 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.000572/0.279, allocations: 0.6023 MB / 410.6 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.279, allocations: 2.062 kB / 410.6 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.2792, allocations: 31.7 kB / 410.6 MB, free: 6.344 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.2793, allocations: 17.66 kB / 410.6 MB, free: 6.336 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2793, allocations: 9.062 kB / 410.6 MB, free: 6.328 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006531/0.28, allocations: 1.27 MB / 411.9 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.28, allocations: 0.8438 kB / 411.9 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.2803, allocations: 310.9 kB / 412.2 MB, free: 4.789 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.2803, allocations: 89.64 kB / 412.3 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.2803, allocations: 7.484 kB / 412.3 MB, free: 4.684 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.2804, allocations: 0 / 412.3 MB, free: 4.684 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.2804, allocations: 13.03 kB / 412.3 MB, free: 4.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.2804, allocations: 6.016 kB / 412.3 MB, free: 4.68 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.525e-05/0.2805, allocations: 96.59 kB / 412.4 MB, free: 4.598 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2805, allocations: 5.25 kB / 412.4 MB, free: 4.594 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.2808, allocations: 35.44 kB / 412.4 MB, free: 4.582 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 8.379e-05/0.2809, allocations: 97.88 kB / 412.5 MB, free: 4.492 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.2811, allocations: 97.89 kB / 412.6 MB, free: 4.465 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2811, allocations: 0 / 412.6 MB, free: 4.465 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.2813, allocations: 171.3 kB / 412.8 MB, free: 4.332 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.2817, allocations: 24.92 kB / 412.8 MB, free: 4.32 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.2823, allocations: 0.4926 MB / 413.3 MB, free: 3.93 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.2824, allocations: 0.703 MB / 414 MB, free: 3.234 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.2825, allocations: 20.16 kB / 414 MB, free: 3.227 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2825, allocations: 0 / 414 MB, free: 3.227 MB / 286.1 MB Notification: Performance of Templates: time 0.004069/0.2866, allocations: 1.687 MB / 415.7 MB, free: 3.098 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)