Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.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.TwoMassesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent",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.005695/0.005696, 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.415/1.415, allocations: 223.2 MB / 239 MB, free: 1.816 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.0009046/0.0009045, allocations: 100.1 kB / 290.2 MB, free: 13.95 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.002525/0.002525, allocations: 0.557 MB / 341.9 MB, free: 10.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003987, allocations: 9.312 kB / 403 MB, free: 98.28 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1056, allocations: 50.57 MB / 453.6 MB, free: 59.14 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0889/0.1946, allocations: 75.18 MB / 0.5164 GB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.1949, allocations: 67.97 kB / 0.5164 GB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001756/0.1967, allocations: 0.6019 MB / 0.517 GB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.969e-06/0.1967, allocations: 0 / 0.517 GB, free: 15.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.1968, allocations: 4 kB / 0.517 GB, free: 15.19 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.0005296/0.1973, allocations: 326.2 kB / 0.5173 GB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.1974, allocations: 8.031 kB / 0.5173 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.1974, allocations: 38.56 kB / 0.5174 GB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.1975, allocations: 11.84 kB / 0.5174 GB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.1976, allocations: 175 kB / 0.5176 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1977, allocations: 3.828 kB / 0.5176 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.1977, allocations: 7.938 kB / 0.5176 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1978, allocations: 45.69 kB / 0.5176 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.1979, allocations: 0 / 0.5176 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1979, allocations: 0 / 0.5176 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.1979, allocations: 3.953 kB / 0.5176 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.438e-05/0.198, allocations: 19.92 kB / 0.5176 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.1985, allocations: 249 kB / 0.5179 GB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.1986, allocations: 50.56 kB / 0.5179 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.1986, allocations: 4 kB / 0.5179 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.1987, allocations: 34.5 kB / 0.518 GB, free: 14.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/0.1987, allocations: 0 / 0.518 GB, free: 14.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001012/0.1997, allocations: 0.5061 MB / 0.5185 GB, free: 13.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.1997, allocations: 51.41 kB / 0.5185 GB, free: 13.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.1998, allocations: 96.98 kB / 0.5186 GB, free: 13.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.1999, allocations: 25.7 kB / 0.5186 GB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.1999, allocations: 84.14 kB / 0.5187 GB, free: 13.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.2, allocations: 31.55 kB / 0.5187 GB, free: 13.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.2, allocations: 0 / 0.5187 GB, free: 13.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.2001, allocations: 322.8 kB / 0.519 GB, free: 12.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.383e-05/0.2002, allocations: 11.98 kB / 0.519 GB, free: 12.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.758e-05/0.2002, allocations: 29.72 kB / 0.5191 GB, free: 12.79 MB / 362.7 MB Error: The initialization problem is inconsistent due to the following equation: x1 = 0.0 (1.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.2006, allocations: 202.2 kB / 0.5193 GB, free: 12.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2006, allocations: 0 / 0.5193 GB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001901/0.2008, allocations: 106.3 kB / 0.5194 GB, free: 12.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.2008, allocations: 4 kB / 0.5194 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2009, allocations: 0 / 0.5194 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/0.201, allocations: 24.84 kB / 0.5194 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.2011, allocations: 11.94 kB / 0.5194 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.2023, allocations: 1.293 MB / 0.5207 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.2024, allocations: 4 kB / 0.5207 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.2024, allocations: 4.031 kB / 0.5207 GB, free: 10.96 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: x1 = 0.0 v1 = 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 (8): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 0.0001331/0.2025, allocations: 121.7 kB / 0.5208 GB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.2026, allocations: 3.906 kB / 0.5208 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.2026, allocations: 16.02 kB / 0.5208 GB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2026, allocations: 4 kB / 0.5208 GB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2026, allocations: 4 kB / 0.5208 GB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2026, allocations: 0 / 0.5208 GB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.2031, allocations: 362 kB / 0.5212 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2031, allocations: 3.938 kB / 0.5212 GB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.2032, allocations: 16.09 kB / 0.5212 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.393e-05/0.2033, allocations: 16.84 kB / 0.5212 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2033, allocations: 7.953 kB / 0.5212 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.2044, allocations: 1.3 MB / 0.5225 GB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2044, allocations: 3.938 kB / 0.5225 GB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.2047, allocations: 267.4 kB / 0.5227 GB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.2048, allocations: 77.11 kB / 0.5228 GB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.2048, allocations: 8.031 kB / 0.5228 GB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.661e-05/0.2048, allocations: 0 / 0.5228 GB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.2049, allocations: 11.94 kB / 0.5228 GB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.2049, allocations: 4 kB / 0.5228 GB, free: 8.473 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.065e-05/0.2049, allocations: 83.28 kB / 0.5229 GB, free: 8.391 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2049, allocations: 4.062 kB / 0.5229 GB, free: 8.387 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.2052, allocations: 16 kB / 0.5229 GB, free: 8.371 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.0007347/0.2059, allocations: 0.9934 MB / 0.5239 GB, free: 7.328 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003106/0.2063, allocations: 166.6 kB / 0.5241 GB, free: 7.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2063, allocations: 0 / 0.5241 GB, free: 7.152 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.2065, allocations: 151.1 kB / 0.5242 GB, free: 6.992 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.2066, allocations: 1.312 kB / 0.5242 GB, free: 6.992 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008743/0.2075, allocations: 0.6413 MB / 0.5248 GB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.2078, allocations: 0.6887 MB / 0.5255 GB, free: 5.574 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.411e-05/0.2078, allocations: 4.188 kB / 0.5255 GB, free: 5.566 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.2079, allocations: 11.44 kB / 0.5255 GB, free: 5.555 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2079, allocations: 0 / 0.5255 GB, free: 5.555 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/0.2216, allocations: 1.523 MB / 0.527 GB, free: 4.293 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/0.2219, allocations: 279.9 kB / 0.5273 GB, free: 3.934 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/1.725, allocations: 3.859 kB / 0.5273 GB, free: 3.93 MB / 362.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1)