Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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+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 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: "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007473/0.007473, allocations: 171.5 kB / 15.11 MB, free: 5.969 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.364/1.364, allocations: 223.2 MB / 239 MB, free: 1.809 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009876/0.0009877, allocations: 91.55 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002473/0.002473, allocations: 0.5462 MB / 341.9 MB, free: 10.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003239, allocations: 7.312 kB / 403 MB, free: 98.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09133/0.09168, allocations: 50.57 MB / 453.6 MB, free: 59.15 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08736/0.1791, allocations: 76.57 MB / 0.5177 GB, free: 14.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.1793, allocations: 67.97 kB / 0.5178 GB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007616/0.1869, allocations: 2.947 MB / 0.5207 GB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.187, allocations: 0 / 0.5207 GB, free: 11.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.187, allocations: 4 kB / 0.5207 GB, free: 11.44 MB / 362.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.0004154/0.1874, allocations: 391.2 kB / 0.521 GB, free: 11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1875, allocations: 8.031 kB / 0.5211 GB, free: 11 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.114e-05/0.1875, allocations: 38.56 kB / 0.5211 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.1875, allocations: 11.86 kB / 0.5211 GB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.1877, allocations: 178.9 kB / 0.5213 GB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1877, allocations: 8.188 kB / 0.5213 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.1878, allocations: 15.91 kB / 0.5213 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.1879, allocations: 87.16 kB / 0.5214 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.188, allocations: 4 kB / 0.5214 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.188, allocations: 11.94 kB / 0.5214 GB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.188, allocations: 7.953 kB / 0.5214 GB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.1881, allocations: 52.53 kB / 0.5214 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.1887, allocations: 389.4 kB / 0.5218 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.1889, allocations: 98.55 kB / 0.5219 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.1889, allocations: 3.938 kB / 0.5219 GB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.189, allocations: 38.56 kB / 0.522 GB, free: 9.949 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.189, allocations: 0 / 0.522 GB, free: 9.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001114/0.1901, allocations: 0.6859 MB / 0.5226 GB, free: 9.176 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.1902, allocations: 51.41 kB / 0.5227 GB, free: 9.113 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.1902, allocations: 110.1 kB / 0.5228 GB, free: 9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1903, allocations: 29.7 kB / 0.5228 GB, free: 8.965 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.1903, allocations: 104.3 kB / 0.5229 GB, free: 8.855 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.1904, allocations: 55.2 kB / 0.523 GB, free: 8.801 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.1904, allocations: 4 kB / 0.523 GB, free: 8.797 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1905, allocations: 318.8 kB / 0.5233 GB, free: 8.477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.632e-05/0.1906, allocations: 40.17 kB / 0.5233 GB, free: 8.438 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.003e-05/0.1907, allocations: 63.11 kB / 0.5234 GB, free: 8.367 MB / 362.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: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.s = $START.mass1.s ($START.mass2.s + (-0.5) * (mass2.L + mass1.L) = $START.mass1.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/0.1913, allocations: 311.3 kB / 0.5237 GB, free: 8.027 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1913, allocations: 0 / 0.5237 GB, free: 8.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002557/0.1915, allocations: 170.3 kB / 0.5238 GB, free: 7.852 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1916, allocations: 4 kB / 0.5238 GB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1916, allocations: 0 / 0.5238 GB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001115/0.1917, allocations: 28.84 kB / 0.5239 GB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1918, allocations: 27.92 kB / 0.5239 GB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.193, allocations: 1.452 MB / 0.5253 GB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.1931, allocations: 8.031 kB / 0.5253 GB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1931, allocations: 8.062 kB / 0.5253 GB, free: 6.18 MB / 362.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: mass2.v = $START.mass2.v mass1.s = $START.mass1.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.1932, allocations: 129.8 kB / 0.5254 GB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.1932, allocations: 7.906 kB / 0.5254 GB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.1933, allocations: 12.84 kB / 0.5255 GB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1933, allocations: 4.25 kB / 0.5255 GB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1933, allocations: 0 / 0.5255 GB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1933, allocations: 4 kB / 0.5255 GB, free: 6.016 MB / 362.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.0006516/0.1939, allocations: 0.6018 MB / 0.5261 GB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.194, allocations: 0 / 0.5261 GB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.1941, allocations: 27.98 kB / 0.5261 GB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-05/0.1942, allocations: 28.89 kB / 0.5261 GB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1942, allocations: 0 / 0.5261 GB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009294/0.1951, allocations: 1.276 MB / 0.5274 GB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1951, allocations: 0 / 0.5274 GB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.1955, allocations: 355.3 kB / 0.5277 GB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.1956, allocations: 85.05 kB / 0.5278 GB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.1956, allocations: 8 kB / 0.5278 GB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.1957, allocations: 0 / 0.5278 GB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.1957, allocations: 19.88 kB / 0.5278 GB, free: 3.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.1957, allocations: 4 kB / 0.5278 GB, free: 3.324 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.455e-05/0.1958, allocations: 99.64 kB / 0.5279 GB, free: 3.227 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1958, allocations: 4 kB / 0.5279 GB, free: 3.223 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002968/0.1961, allocations: 36 kB / 0.5279 GB, free: 3.188 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007057/0.1968, allocations: 1.073 MB / 0.529 GB, free: 2.062 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003955/0.1972, allocations: 230.5 kB / 0.5292 GB, free: 1.824 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1972, allocations: 0 / 0.5292 GB, free: 1.824 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.1974, allocations: 170.8 kB / 0.5294 GB, free: 1.645 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.1977, allocations: 15.98 kB / 0.5294 GB, free: 1.629 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.1991, allocations: 1.209 MB / 0.5306 GB, free: 364 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2056/0.4047, allocations: 0.7055 MB / 0.5313 GB, free: 85.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.696e-05/0.4049, allocations: 12.34 kB / 0.5313 GB, free: 85.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.4049, allocations: 27.84 kB / 0.5313 GB, free: 85.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.302e-06/0.4049, allocations: 1.406 kB / 0.5313 GB, free: 85.11 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.4204, allocations: 2.633 MB / 0.5339 GB, free: 85.03 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/0.4207, allocations: 273 kB / 0.5341 GB, free: 84.67 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/1.973, allocations: 3.688 kB / 0.5341 GB, free: 84.67 MB / 362.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1)