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.001042/0.001042, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001014/0.001014, allocations: 193.2 kB / 17.31 MB, free: 5.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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.17 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.002564/0.002564, allocations: 0.5747 MB / 291.7 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 353 MB, free: 0.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1772, allocations: 49.59 MB / 402.6 MB, free: 35.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002132/0.1794, allocations: 1.655 MB / 404.2 MB, free: 34.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002069/0.1796, allocations: 95.69 kB / 404.3 MB, free: 34.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.984e-05/0.1797, allocations: 7.938 kB / 404.3 MB, free: 34.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.411e-05/0.1797, allocations: 11.86 kB / 404.4 MB, free: 34.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.55e-05/0.1798, allocations: 37.88 kB / 404.4 MB, free: 34.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.1799, allocations: 19.98 kB / 404.4 MB, free: 34.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.183e-05/0.18, allocations: 107.5 kB / 404.5 MB, free: 33.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1802, allocations: 35.98 kB / 404.6 MB, free: 33.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.95e-05/0.1802, allocations: 43.78 kB / 404.6 MB, free: 33.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.1803, allocations: 43.84 kB / 404.6 MB, free: 33.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1803, allocations: 8 kB / 404.6 MB, free: 33.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.656e-05/0.1803, allocations: 8 kB / 404.7 MB, free: 33.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.1804, allocations: 23.92 kB / 404.7 MB, free: 33.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.1804, allocations: 43.75 kB / 404.7 MB, free: 33.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.959e-05/0.1805, allocations: 113.3 kB / 404.8 MB, free: 33.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1805, allocations: 3.938 kB / 404.8 MB, free: 33.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1805, allocations: 0 / 404.8 MB, free: 33.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1805, allocations: 4 kB / 404.8 MB, free: 33.63 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.0003625/0.1809, allocations: 395.4 kB / 405.2 MB, free: 33.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.1809, allocations: 11.89 kB / 405.2 MB, free: 33.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.181, allocations: 12.75 kB / 405.2 MB, free: 33.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.1811, allocations: 188.2 kB / 405.4 MB, free: 32.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1811, allocations: 4.562 kB / 405.4 MB, free: 32.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.1811, allocations: 20.22 kB / 405.5 MB, free: 32.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1813, allocations: 99.28 kB / 405.6 MB, free: 32.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1813, allocations: 4 kB / 405.6 MB, free: 32.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1813, allocations: 4 kB / 405.6 MB, free: 32.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1813, allocations: 0 / 405.6 MB, free: 32.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.819e-05/0.1814, allocations: 67.89 kB / 405.6 MB, free: 32.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.1818, allocations: 376.6 kB / 406 MB, free: 32.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.182, allocations: 110.5 kB / 406.1 MB, free: 32.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.1821, allocations: 40.84 kB / 406.1 MB, free: 32.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.1821, allocations: 0 / 406.1 MB, free: 32.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.229e-05/0.1821, allocations: 30.56 kB / 406.2 MB, free: 32.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.1821, allocations: 0 / 406.2 MB, free: 32.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008155/0.1829, allocations: 0.6918 MB / 406.9 MB, free: 31.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.1829, allocations: 55.41 kB / 406.9 MB, free: 31.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.385e-05/0.183, allocations: 121.8 kB / 407 MB, free: 31.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.183, allocations: 25.7 kB / 407.1 MB, free: 31.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.1831, allocations: 104.3 kB / 407.2 MB, free: 31.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.1831, allocations: 55.19 kB / 407.2 MB, free: 30.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.1831, allocations: 29.72 kB / 407.2 MB, free: 30.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.499e-05/0.1832, allocations: 334.8 kB / 407.6 MB, free: 30.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.162e-05/0.1832, allocations: 35.98 kB / 407.6 MB, free: 30.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.868e-05/0.1833, allocations: 62.5 kB / 407.7 MB, free: 30.48 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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.1837, allocations: 369.3 kB / 408 MB, free: 30.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1837, allocations: 0 / 408 MB, free: 30.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001581/0.1839, allocations: 145.4 kB / 408.2 MB, free: 29.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.1839, allocations: 4 kB / 408.2 MB, free: 29.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1839, allocations: 7.938 kB / 408.2 MB, free: 29.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1839, allocations: 0 / 408.2 MB, free: 29.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.1841, allocations: 35.97 kB / 408.2 MB, free: 29.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.1841, allocations: 4 kB / 408.2 MB, free: 29.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.1842, allocations: 11.97 kB / 408.2 MB, free: 29.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1842, allocations: 4 kB / 408.2 MB, free: 29.86 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.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.484e-05/0.1843, allocations: 135 kB / 408.4 MB, free: 29.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.1843, allocations: 8.156 kB / 408.4 MB, free: 29.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.1843, allocations: 20.83 kB / 408.4 MB, free: 29.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1843, allocations: 0 / 408.4 MB, free: 29.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1844, allocations: 4 kB / 408.4 MB, free: 29.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1844, allocations: 0 / 408.4 MB, free: 29.69 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.0004625/0.1848, allocations: 0.5976 MB / 409 MB, free: 29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1848, allocations: 0 / 409 MB, free: 29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.185, allocations: 31.92 kB / 409 MB, free: 28.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.094e-05/0.1851, allocations: 16.86 kB / 409 MB, free: 28.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1851, allocations: 12.02 kB / 409.1 MB, free: 28.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005903/0.1857, allocations: 1.371 MB / 410.4 MB, free: 27.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1857, allocations: 0 / 410.4 MB, free: 27.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.186, allocations: 301 kB / 410.7 MB, free: 27.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.186, allocations: 93.16 kB / 410.8 MB, free: 26.99 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.186, allocations: 4 kB / 410.8 MB, free: 26.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.1861, allocations: 4 kB / 410.8 MB, free: 26.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.1861, allocations: 15.92 kB / 410.8 MB, free: 26.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1861, allocations: 4 kB / 410.8 MB, free: 26.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.074e-05/0.1862, allocations: 95.27 kB / 410.9 MB, free: 26.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1862, allocations: 0 / 410.9 MB, free: 26.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003473/0.1865, allocations: 32 kB / 411 MB, free: 26.84 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 5.891e-05/0.1866, allocations: 99.19 kB / 411.1 MB, free: 26.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.1868, allocations: 95.91 kB / 411.2 MB, free: 26.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1868, allocations: 0 / 411.2 MB, free: 26.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.187, allocations: 170.6 kB / 411.3 MB, free: 26.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.1873, allocations: 20.25 kB / 411.3 MB, free: 26.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.1878, allocations: 399.6 kB / 411.7 MB, free: 26.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.84e-05/0.1879, allocations: 0.7084 MB / 412.4 MB, free: 25.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.154e-05/0.1879, allocations: 9.078 kB / 412.5 MB, free: 25.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.188, allocations: 15.44 kB / 412.5 MB, free: 25.26 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.188, allocations: 0 / 412.5 MB, free: 25.26 MB / 302.1 MB Notification: Performance of Templates: time 0.003291/0.1913, allocations: 1.384 MB / 413.9 MB, free: 23.93 MB / 302.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 -s gbode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1)