Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 113.4 kB / 16.37 MB, free: 5.953 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.0011/0.0011, allocations: 190.2 kB / 17.3 MB, free: 5.578 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.14 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.002595/0.002595, allocations: 0.5684 MB / 291.7 MB, free: 14.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 55.91 kB / 353 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1763, allocations: 49.6 MB / 402.6 MB, free: 35.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002119/0.1785, allocations: 1.641 MB / 404.2 MB, free: 34.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002039/0.1787, allocations: 96.94 kB / 404.3 MB, free: 34.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.1788, allocations: 7.938 kB / 404.3 MB, free: 34.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.405e-05/0.1788, allocations: 11.86 kB / 404.4 MB, free: 34.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.233e-05/0.1789, allocations: 35.61 kB / 404.4 MB, free: 34.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001016/0.179, allocations: 23.97 kB / 404.4 MB, free: 34.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.92e-05/0.1791, allocations: 111.5 kB / 404.5 MB, free: 33.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1792, allocations: 27.98 kB / 404.5 MB, free: 33.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.155e-05/0.1793, allocations: 43.8 kB / 404.6 MB, free: 33.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.198e-05/0.1794, allocations: 39.84 kB / 404.6 MB, free: 33.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1794, allocations: 8 kB / 404.6 MB, free: 33.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.642e-05/0.1794, allocations: 11.75 kB / 404.6 MB, free: 33.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.1794, allocations: 27.91 kB / 404.7 MB, free: 33.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.1795, allocations: 47.73 kB / 404.7 MB, free: 33.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.845e-05/0.1796, allocations: 109.3 kB / 404.8 MB, free: 33.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1796, allocations: 0 / 404.8 MB, free: 33.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1796, allocations: 0 / 404.8 MB, free: 33.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1796, allocations: 0 / 404.8 MB, free: 33.61 MB / 302.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.0003725/0.18, allocations: 395.9 kB / 405.2 MB, free: 33.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.18, allocations: 19.89 kB / 405.2 MB, free: 33.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.1801, allocations: 16.75 kB / 405.3 MB, free: 33.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.1802, allocations: 188.2 kB / 405.4 MB, free: 32.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-06/0.1802, allocations: 8.562 kB / 405.4 MB, free: 32.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.1802, allocations: 8.281 kB / 405.5 MB, free: 32.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.1804, allocations: 99.23 kB / 405.5 MB, free: 32.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1804, allocations: 3.984 kB / 405.6 MB, free: 32.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1804, allocations: 4 kB / 405.6 MB, free: 32.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1804, allocations: 4 kB / 405.6 MB, free: 32.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.362e-05/0.1805, allocations: 51.97 kB / 405.6 MB, free: 32.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.1809, allocations: 392.5 kB / 406 MB, free: 32.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1811, allocations: 106.5 kB / 406.1 MB, free: 32.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.1812, allocations: 36.84 kB / 406.1 MB, free: 32.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.1812, allocations: 4 kB / 406.1 MB, free: 32.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.076e-05/0.1812, allocations: 34.56 kB / 406.2 MB, free: 32.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.1812, allocations: 0 / 406.2 MB, free: 32.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008397/0.182, allocations: 0.6823 MB / 406.9 MB, free: 31.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.762e-05/0.1821, allocations: 51.41 kB / 406.9 MB, free: 31.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.478e-05/0.1821, allocations: 118.9 kB / 407 MB, free: 31.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.1821, allocations: 29.7 kB / 407 MB, free: 31.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.1822, allocations: 104.3 kB / 407.2 MB, free: 30.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.1822, allocations: 55.2 kB / 407.2 MB, free: 30.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.1823, allocations: 37.7 kB / 407.2 MB, free: 30.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.627e-05/0.1823, allocations: 318.8 kB / 407.6 MB, free: 30.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.114e-05/0.1824, allocations: 35.98 kB / 407.6 MB, free: 30.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6e-05/0.1824, allocations: 62.45 kB / 407.6 MB, free: 30.46 MB / 302.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.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005711/0.183, allocations: 411.7 kB / 408.1 MB, free: 30.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.183, allocations: 7.938 kB / 408.1 MB, free: 30.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002123/0.1832, allocations: 169.1 kB / 408.2 MB, free: 29.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.1833, allocations: 4 kB / 408.2 MB, free: 29.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1833, allocations: 3.938 kB / 408.2 MB, free: 29.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001068/0.1834, allocations: 28.84 kB / 408.3 MB, free: 29.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.079e-05/0.1835, allocations: 31.92 kB / 408.3 MB, free: 29.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007559/0.1842, allocations: 1.611 MB / 409.9 MB, free: 28.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.1843, allocations: 4 kB / 409.9 MB, free: 28.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.1843, allocations: 12.05 kB / 409.9 MB, free: 28 MB / 302.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.s = $START.mass2.s. 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.09e-05/0.1844, allocations: 143 kB / 410.1 MB, free: 27.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.1844, allocations: 7.906 kB / 410.1 MB, free: 27.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.1845, allocations: 16.84 kB / 410.1 MB, free: 27.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1845, allocations: 0 / 410.1 MB, free: 27.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1845, allocations: 0 / 410.1 MB, free: 27.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1845, allocations: 3.984 kB / 410.1 MB, free: 27.82 MB / 302.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.0004675/0.185, allocations: 0.5941 MB / 410.7 MB, free: 27.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.185, allocations: 4.188 kB / 410.7 MB, free: 27.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.1851, allocations: 32 kB / 410.7 MB, free: 27.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.638e-05/0.1852, allocations: 16.84 kB / 410.7 MB, free: 27.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1852, allocations: 8.094 kB / 410.7 MB, free: 27.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005253/0.1857, allocations: 1.367 MB / 412.1 MB, free: 25.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1857, allocations: 3.984 kB / 412.1 MB, free: 25.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.186, allocations: 301.9 kB / 412.4 MB, free: 25.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.186, allocations: 89.17 kB / 412.5 MB, free: 25.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.186, allocations: 0 / 412.5 MB, free: 25.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.1861, allocations: 15.92 kB / 412.5 MB, free: 25.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.1861, allocations: 4 kB / 412.5 MB, free: 25.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.1861, allocations: 11.98 kB / 412.5 MB, free: 25.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.204e-05/0.1862, allocations: 99.59 kB / 412.6 MB, free: 25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1862, allocations: 0 / 412.6 MB, free: 25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003077/0.1865, allocations: 28 kB / 412.6 MB, free: 24.98 MB / 302.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 6.48e-05/0.1866, allocations: 107.2 kB / 412.8 MB, free: 24.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003104/0.1869, allocations: 222.6 kB / 413 MB, free: 24.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1869, allocations: 0 / 413 MB, free: 24.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.187, allocations: 170.5 kB / 413.1 MB, free: 24.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.1874, allocations: 23.12 kB / 413.2 MB, free: 24.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.1879, allocations: 406 kB / 413.6 MB, free: 24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.77e-05/0.188, allocations: 0.7085 MB / 414.3 MB, free: 23.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.008e-05/0.188, allocations: 9.078 kB / 414.3 MB, free: 23.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.188, allocations: 15.44 kB / 414.3 MB, free: 23.24 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.188, allocations: 0 / 414.3 MB, free: 23.24 MB / 302.1 MB Notification: Performance of Templates: time 0.003261/0.1913, allocations: 1.429 MB / 415.7 MB, free: 21.86 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)