Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",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.01153/0.01153, allocations: 170.5 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.469/1.469, allocations: 223.2 MB / 239 MB, free: 1.789 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.0009028/0.0009028, allocations: 95.95 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.002609/0.002609, allocations: 0.5547 MB / 341.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003554, allocations: 8.625 kB / 403 MB, free: 98.2 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09826/0.09864, allocations: 50.57 MB / 453.6 MB, free: 59.12 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08822/0.1869, allocations: 75.26 MB / 0.5164 GB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.1871, allocations: 63.95 kB / 0.5165 GB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0016/0.1887, allocations: 0.6718 MB / 0.5172 GB, free: 15.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1888, allocations: 0 / 0.5172 GB, free: 15.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1888, allocations: 4 kB / 0.5172 GB, free: 15.02 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002804/0.1891, allocations: 339.3 kB / 0.5175 GB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1891, allocations: 11.97 kB / 0.5175 GB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.1892, allocations: 34.56 kB / 0.5175 GB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.1892, allocations: 7.859 kB / 0.5175 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1893, allocations: 167.1 kB / 0.5177 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1893, allocations: 4 kB / 0.5177 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.1894, allocations: 7.938 kB / 0.5177 GB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.1895, allocations: 49.67 kB / 0.5178 GB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1895, allocations: 0 / 0.5178 GB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1895, allocations: 7.984 kB / 0.5178 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-06/0.1895, allocations: 3.953 kB / 0.5178 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.028e-05/0.1896, allocations: 8 kB / 0.5178 GB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.1899, allocations: 249 kB / 0.518 GB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.685e-05/0.19, allocations: 50.5 kB / 0.5181 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.19, allocations: 0 / 0.5181 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.19, allocations: 38.56 kB / 0.5181 GB, free: 13.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.19, allocations: 0 / 0.5181 GB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006944/0.1907, allocations: 0.5099 MB / 0.5186 GB, free: 13.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.1908, allocations: 51.41 kB / 0.5186 GB, free: 13.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.082e-05/0.1908, allocations: 97 kB / 0.5187 GB, free: 13.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.1909, allocations: 25.7 kB / 0.5188 GB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.1909, allocations: 84.14 kB / 0.5188 GB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.1909, allocations: 31.55 kB / 0.5189 GB, free: 12.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.1909, allocations: 0 / 0.5189 GB, free: 12.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1911, allocations: 314.8 kB / 0.5192 GB, free: 12.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.849e-05/0.1911, allocations: 15.98 kB / 0.5192 GB, free: 12.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.728e-05/0.1911, allocations: 33.7 kB / 0.5192 GB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.1914, allocations: 206.2 kB / 0.5194 GB, free: 12.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1914, allocations: 3.938 kB / 0.5194 GB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001096/0.1915, allocations: 81.53 kB / 0.5195 GB, free: 12.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1915, allocations: 8 kB / 0.5195 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1915, allocations: 0.875 kB / 0.5195 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.1915, allocations: 0 / 0.5195 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1916, allocations: 27.92 kB / 0.5195 GB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.1917, allocations: 3.938 kB / 0.5195 GB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.232e-05/0.1917, allocations: 4 kB / 0.5195 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1917, allocations: 4 kB / 0.5195 GB, free: 12.23 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: $DER.v1 = 0.0 $DER.x1 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.1918, allocations: 113.8 kB / 0.5197 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.1919, allocations: 7.953 kB / 0.5197 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.1919, allocations: 11.97 kB / 0.5197 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1919, allocations: 0 / 0.5197 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1919, allocations: 0 / 0.5197 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1919, allocations: 3.984 kB / 0.5197 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.1923, allocations: 373.8 kB / 0.52 GB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1923, allocations: 0 / 0.52 GB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.1924, allocations: 11.94 kB / 0.52 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-05/0.1925, allocations: 20.84 kB / 0.5201 GB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1925, allocations: 4 kB / 0.5201 GB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000914/0.1934, allocations: 1.292 MB / 0.5213 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1935, allocations: 0 / 0.5213 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.1937, allocations: 271.9 kB / 0.5216 GB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.1938, allocations: 81.14 kB / 0.5217 GB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.1938, allocations: 0 / 0.5217 GB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.617e-05/0.1939, allocations: 8.062 kB / 0.5217 GB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.1939, allocations: 11.98 kB / 0.5217 GB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.1939, allocations: 0 / 0.5217 GB, free: 9.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.123e-05/0.1939, allocations: 79.28 kB / 0.5218 GB, free: 9.672 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1939, allocations: 0 / 0.5218 GB, free: 9.672 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.1942, allocations: 12 kB / 0.5218 GB, free: 9.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006076/0.1948, allocations: 1.004 MB / 0.5228 GB, free: 8.613 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.1949, allocations: 47.98 kB / 0.5228 GB, free: 8.566 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1949, allocations: 0 / 0.5228 GB, free: 8.566 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.1951, allocations: 146.6 kB / 0.5229 GB, free: 8.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.1953, allocations: 5.25 kB / 0.5229 GB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006943/0.196, allocations: 0.6321 MB / 0.5236 GB, free: 7.715 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1963, allocations: 0.6887 MB / 0.5242 GB, free: 7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.311e-05/0.1963, allocations: 4.188 kB / 0.5242 GB, free: 6.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.1963, allocations: 15.42 kB / 0.5243 GB, free: 6.977 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1963, allocations: 0 / 0.5243 GB, free: 6.977 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.2105, allocations: 1.415 MB / 0.5256 GB, free: 5.824 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002921/0.2109, allocations: 263.7 kB / 0.5259 GB, free: 5.469 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.432/1.643, allocations: 0 / 0.5259 GB, free: 5.469 MB / 362.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1)