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: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001336/0.001336, allocations: 193.6 kB / 16.14 MB, free: 6.66 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.161/1.161, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.002269/0.002269, allocations: 0.5623 MB / 290.5 MB, free: 1.941 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 67.88 kB / 351 MB, free: 2.719 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08292/0.08446, allocations: 49.59 MB / 400.6 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.1013/0.1858, allocations: 1.701 MB / 402.3 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001839/0.186, allocations: 97.03 kB / 402.4 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.1861, allocations: 1.031 kB / 402.4 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.94e-05/0.1862, allocations: 10.31 kB / 402.4 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.488e-05/0.1863, allocations: 26.41 kB / 402.4 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.501e-05/0.1864, allocations: 25.81 kB / 402.4 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.995e-05/0.1865, allocations: 97.92 kB / 402.5 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.976e-05/0.1866, allocations: 29.75 kB / 402.6 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.902e-05/0.1866, allocations: 36.05 kB / 402.6 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.756e-05/0.1867, allocations: 48.73 kB / 402.6 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.1867, allocations: 7.312 kB / 402.7 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.836e-05/0.1867, allocations: 6.844 kB / 402.7 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.1868, allocations: 15.58 kB / 402.7 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.1868, allocations: 45.98 kB / 402.7 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.1869, allocations: 107.6 kB / 402.8 MB, free: 9.832 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1869, allocations: 0.5 kB / 402.8 MB, free: 9.832 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1869, allocations: 0.5 kB / 402.8 MB, free: 9.832 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.1869, allocations: 0.7188 kB / 402.8 MB, free: 9.832 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.0003483/0.1873, allocations: 403.1 kB / 403.2 MB, free: 9.449 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.1873, allocations: 9.875 kB / 403.2 MB, free: 9.449 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.1874, allocations: 42.67 kB / 403.3 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.1874, allocations: 15.42 kB / 403.3 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.1875, allocations: 187.2 kB / 403.5 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.1875, allocations: 6.5 kB / 403.5 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.1875, allocations: 14.39 kB / 403.5 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1877, allocations: 96.22 kB / 403.6 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1877, allocations: 0.7031 kB / 403.6 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.1877, allocations: 8.312 kB / 403.6 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1877, allocations: 1.344 kB / 403.6 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.766e-05/0.1878, allocations: 64.06 kB / 403.7 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.1882, allocations: 384.1 kB / 404 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.1884, allocations: 106.7 kB / 404.1 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.1884, allocations: 37.95 kB / 404.2 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.1884, allocations: 1.531 kB / 404.2 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.273e-05/0.1885, allocations: 32.11 kB / 404.2 MB, free: 8.785 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.1885, allocations: 0.5312 kB / 404.2 MB, free: 8.785 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007892/0.1893, allocations: 0.6844 MB / 404.9 MB, free: 8.309 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.597e-05/0.1893, allocations: 57.5 kB / 404.9 MB, free: 8.246 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.199e-05/0.1894, allocations: 121.5 kB / 405.1 MB, free: 8.148 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.1894, allocations: 27.05 kB / 405.1 MB, free: 8.117 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.1894, allocations: 106.2 kB / 405.2 MB, free: 8.023 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.1894, allocations: 54.98 kB / 405.2 MB, free: 7.988 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.1895, allocations: 30.12 kB / 405.3 MB, free: 7.973 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.362e-05/0.1895, allocations: 328.2 kB / 405.6 MB, free: 7.656 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.137e-05/0.1896, allocations: 34.81 kB / 405.6 MB, free: 7.656 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.313e-05/0.1896, allocations: 62.19 kB / 405.7 MB, free: 7.629 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.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/0.1902, allocations: 415.7 kB / 406.1 MB, free: 7.406 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1902, allocations: 5.344 kB / 406.1 MB, free: 7.402 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000203/0.1904, allocations: 162 kB / 406.3 MB, free: 7.348 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.1904, allocations: 6.672 kB / 406.3 MB, free: 7.348 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1905, allocations: 0 / 406.3 MB, free: 7.348 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.721e-05/0.1906, allocations: 31.56 kB / 406.3 MB, free: 7.332 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.1906, allocations: 27.78 kB / 406.3 MB, free: 7.328 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006913/0.1913, allocations: 1.455 MB / 407.8 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.1914, allocations: 10.16 kB / 407.8 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1914, allocations: 3.812 kB / 407.8 MB, free: 5.875 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 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 6.509e-05/0.1915, allocations: 132.6 kB / 407.9 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.1915, allocations: 9.406 kB / 407.9 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.1915, allocations: 14.09 kB / 407.9 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1916, allocations: 4.312 kB / 408 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.1916, allocations: 5.156 kB / 408 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1916, allocations: 0 / 408 MB, free: 5.723 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.0004496/0.192, allocations: 0.5906 MB / 408.5 MB, free: 5.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.192, allocations: 5.969 kB / 408.6 MB, free: 5.176 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.1921, allocations: 23.78 kB / 408.6 MB, free: 5.176 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.626e-05/0.1922, allocations: 21.33 kB / 408.6 MB, free: 5.164 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1922, allocations: 9.906 kB / 408.6 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004665/0.1927, allocations: 1.275 MB / 409.9 MB, free: 3.852 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1927, allocations: 0 / 409.9 MB, free: 3.852 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.1929, allocations: 310.6 kB / 410.2 MB, free: 3.617 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.193, allocations: 88.62 kB / 410.3 MB, free: 3.52 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.193, allocations: 6.688 kB / 410.3 MB, free: 3.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.1931, allocations: 1.281 kB / 410.3 MB, free: 3.516 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.1931, allocations: 16.92 kB / 410.3 MB, free: 3.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.1931, allocations: 3.281 kB / 410.3 MB, free: 3.508 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.051e-05/0.1931, allocations: 97.88 kB / 410.4 MB, free: 3.426 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1931, allocations: 64 / 410.4 MB, free: 3.426 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1934, allocations: 34.66 kB / 410.4 MB, free: 3.418 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.000367/0.1938, allocations: 0.8329 MB / 411.3 MB, free: 2.652 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002909/0.1941, allocations: 235.4 kB / 411.5 MB, free: 2.5 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1941, allocations: 0 / 411.5 MB, free: 2.5 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.1942, allocations: 163.2 kB / 411.7 MB, free: 2.371 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.1945, allocations: 27.95 kB / 411.7 MB, free: 2.359 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.1958, allocations: 1.874 MB / 413.6 MB, free: 0.75 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.1959, allocations: 0.705 MB / 414.3 MB, free: 56 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.347e-05/0.196, allocations: 10.56 kB / 414.3 MB, free: 56 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.196, allocations: 32.69 kB / 414.3 MB, free: 32 kB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.196, allocations: 0 / 414.3 MB, free: 32 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.382/3.578, allocations: 2.797 MB / 417.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002983/3.578, allocations: 279.7 kB / 417.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/5.736, allocations: 5.312 kB / 417.4 MB, free: 15.34 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)