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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.006566/0.006566, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.409/1.409, allocations: 223.2 MB / 239 MB, free: 1.785 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.0009763/0.000976, allocations: 97.64 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.002568/0.002568, allocations: 0.5647 MB / 341.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003458, allocations: 9.938 kB / 403 MB, free: 98.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09102/0.09138, allocations: 50.57 MB / 453.6 MB, free: 59.12 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08568/0.1771, allocations: 76.53 MB / 0.5177 GB, free: 14.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.1774, allocations: 67.97 kB / 0.5178 GB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007384/0.1848, allocations: 2.94 MB / 0.5206 GB, free: 11.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1848, allocations: 0 / 0.5206 GB, free: 11.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.1848, allocations: 0 / 0.5206 GB, free: 11.47 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.0003666/0.1852, allocations: 387.2 kB / 0.521 GB, free: 11.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1852, allocations: 12.03 kB / 0.521 GB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.1853, allocations: 42.56 kB / 0.521 GB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.1853, allocations: 15.84 kB / 0.5211 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.1854, allocations: 175 kB / 0.5212 GB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1854, allocations: 4.188 kB / 0.5212 GB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.1855, allocations: 11.91 kB / 0.5212 GB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1856, allocations: 97.91 kB / 0.5213 GB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1857, allocations: 4 kB / 0.5213 GB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1857, allocations: 0 / 0.5213 GB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1857, allocations: 3.953 kB / 0.5213 GB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.1858, allocations: 56.53 kB / 0.5214 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.1863, allocations: 393.4 kB / 0.5218 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.1865, allocations: 98.55 kB / 0.5219 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.1865, allocations: 4 kB / 0.5219 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.1865, allocations: 30.56 kB / 0.5219 GB, free: 9.992 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.1865, allocations: 7.938 kB / 0.5219 GB, free: 9.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009763/0.1875, allocations: 0.6769 MB / 0.5226 GB, free: 9.215 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.1875, allocations: 55.41 kB / 0.5226 GB, free: 9.148 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.862e-05/0.1876, allocations: 117.2 kB / 0.5227 GB, free: 9.027 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1876, allocations: 29.7 kB / 0.5228 GB, free: 8.992 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.1877, allocations: 100.3 kB / 0.5229 GB, free: 8.887 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.1877, allocations: 59.19 kB / 0.5229 GB, free: 8.828 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.1878, allocations: 0 / 0.5229 GB, free: 8.828 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.1879, allocations: 322.8 kB / 0.5232 GB, free: 8.504 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.1879, allocations: 28.17 kB / 0.5232 GB, free: 8.477 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/0.188, allocations: 63.11 kB / 0.5233 GB, free: 8.406 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.0005482/0.1885, allocations: 323.4 kB / 0.5236 GB, free: 8.055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1886, allocations: 0 / 0.5236 GB, free: 8.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002323/0.1888, allocations: 166.3 kB / 0.5238 GB, free: 7.883 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1888, allocations: 4 kB / 0.5238 GB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1888, allocations: 4 kB / 0.5238 GB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.1889, allocations: 28.84 kB / 0.5238 GB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.189, allocations: 23.98 kB / 0.5238 GB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.1901, allocations: 1.46 MB / 0.5253 GB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.693e-05/0.1902, allocations: 4 kB / 0.5253 GB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1902, allocations: 4.031 kB / 0.5253 GB, free: 6.211 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.0001007/0.1903, allocations: 133.8 kB / 0.5254 GB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.1903, allocations: 11.97 kB / 0.5254 GB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.1904, allocations: 16.84 kB / 0.5254 GB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1904, allocations: 0 / 0.5254 GB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1904, allocations: 4 kB / 0.5254 GB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.1904, allocations: 0 / 0.5254 GB, free: 6.039 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.0005879/0.191, allocations: 0.5936 MB / 0.526 GB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.191, allocations: 0 / 0.526 GB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.1911, allocations: 32.17 kB / 0.526 GB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.805e-05/0.1912, allocations: 20.8 kB / 0.5261 GB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1912, allocations: 12 kB / 0.5261 GB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007321/0.1919, allocations: 1.28 MB / 0.5273 GB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.192, allocations: 0 / 0.5273 GB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.1923, allocations: 352.3 kB / 0.5277 GB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.1923, allocations: 89.02 kB / 0.5277 GB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1923, allocations: 0 / 0.5277 GB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.1925, allocations: 12.06 kB / 0.5277 GB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.1925, allocations: 11.94 kB / 0.5278 GB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.1925, allocations: 4 kB / 0.5278 GB, free: 3.355 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.85e-05/0.1926, allocations: 95.27 kB / 0.5279 GB, free: 3.262 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1926, allocations: 7.875 kB / 0.5279 GB, free: 3.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00032/0.1929, allocations: 32 kB / 0.5279 GB, free: 3.223 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.0006336/0.1935, allocations: 1.068 MB / 0.5289 GB, free: 2.102 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003786/0.1939, allocations: 234.5 kB / 0.5292 GB, free: 1.859 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1939, allocations: 0 / 0.5292 GB, free: 1.859 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.1941, allocations: 166.6 kB / 0.5293 GB, free: 1.684 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.1944, allocations: 21.59 kB / 0.5293 GB, free: 1.664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.1957, allocations: 1.205 MB / 0.5305 GB, free: 400 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1595/0.3552, allocations: 0.7081 MB / 0.5312 GB, free: 85.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.3553, allocations: 7.203 kB / 0.5312 GB, free: 85.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.22e-05/0.3554, allocations: 27.7 kB / 0.5312 GB, free: 85.17 MB / 362.7 MB Notification: Performance of SimCode: time 2.505e-06/0.3554, allocations: 1.438 kB / 0.5312 GB, free: 85.17 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.3701, allocations: 2.623 MB / 0.5338 GB, free: 85.09 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.3703, allocations: 254 kB / 0.534 GB, free: 84.76 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/1.875, allocations: 0.5625 kB / 0.534 GB, free: 84.76 MB / 362.7 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/linux/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)