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.001363/0.001363, allocations: 178.4 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 221.5 MB / 229.6 MB, free: 7.516 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.0009676/0.0009674, allocations: 92.84 kB / 280.5 MB, free: 5.246 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.002451/0.002451, allocations: 0.5622 MB / 331.8 MB, free: 14.53 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.414e-05/1.416e-05, allocations: 0 / 388.7 MB, free: 5.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2419, allocations: 50.57 MB / 439.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0973/0.3392, allocations: 74.45 MB / 0.5017 GB, free: 8.703 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.3395, allocations: 67.91 kB / 0.5017 GB, free: 8.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001386/0.3409, allocations: 0.5927 MB / 0.5023 GB, free: 8.043 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3409, allocations: 7.938 kB / 0.5023 GB, free: 8.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.3409, allocations: 0 / 0.5023 GB, free: 8.035 MB / 346.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.0002822/0.3412, allocations: 322.5 kB / 0.5026 GB, free: 7.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3413, allocations: 12.03 kB / 0.5026 GB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.3413, allocations: 7.859 kB / 0.5026 GB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.3414, allocations: 167.1 kB / 0.5028 GB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3414, allocations: 0 / 0.5028 GB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.3415, allocations: 4 kB / 0.5028 GB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.935e-05/0.3415, allocations: 15.98 kB / 0.5028 GB, free: 7.434 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.114e-05/0.3416, allocations: 41.14 kB / 0.5029 GB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3416, allocations: 8 kB / 0.5029 GB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3417, allocations: 0 / 0.5029 GB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3417, allocations: 3.953 kB / 0.5029 GB, free: 7.379 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.342, allocations: 221.4 kB / 0.5031 GB, free: 7.125 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.764e-05/0.3421, allocations: 46.62 kB / 0.5031 GB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/0.3421, allocations: 20.98 kB / 0.5031 GB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.3421, allocations: 4 kB / 0.5032 GB, free: 7.043 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.3421, allocations: 30.56 kB / 0.5032 GB, free: 7.004 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.3422, allocations: 0 / 0.5032 GB, free: 7.004 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006599/0.3428, allocations: 486 kB / 0.5036 GB, free: 6.434 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.3429, allocations: 55.41 kB / 0.5037 GB, free: 6.367 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.3429, allocations: 89 kB / 0.5038 GB, free: 6.273 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.343, allocations: 25.7 kB / 0.5038 GB, free: 6.242 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.343, allocations: 84.14 kB / 0.5039 GB, free: 6.156 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.343, allocations: 27.55 kB / 0.5039 GB, free: 6.129 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.343, allocations: 4 kB / 0.5039 GB, free: 6.125 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3431, allocations: 310.8 kB / 0.5042 GB, free: 5.812 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-05/0.3432, allocations: 16 kB / 0.5042 GB, free: 5.797 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.612e-05/0.3433, allocations: 29.7 kB / 0.5043 GB, free: 5.762 MB / 346.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.0002613/0.3435, allocations: 202.1 kB / 0.5044 GB, free: 5.527 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3435, allocations: 0 / 0.5044 GB, free: 5.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000143/0.3437, allocations: 86.48 kB / 0.5045 GB, free: 5.434 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3437, allocations: 11.94 kB / 0.5045 GB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.3437, allocations: 7.938 kB / 0.5045 GB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-05/0.3438, allocations: 17.08 kB / 0.5046 GB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.3439, allocations: 15.98 kB / 0.5046 GB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008483/0.3448, allocations: 1.233 MB / 0.5058 GB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.3448, allocations: 4.031 kB / 0.5058 GB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.3448, allocations: 0 / 0.5058 GB, free: 4.023 MB / 346.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 () * 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 8.113e-05/0.3449, allocations: 114.4 kB / 0.5059 GB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001356/0.345, allocations: 78.44 kB / 0.506 GB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.3451, allocations: 0 / 0.506 GB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.289e-05/0.3451, allocations: 13.09 kB / 0.506 GB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3451, allocations: 4.062 kB / 0.506 GB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3451, allocations: 0 / 0.506 GB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3451, allocations: 7.891 kB / 0.506 GB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.3455, allocations: 334.4 kB / 0.5063 GB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.3455, allocations: 3.953 kB / 0.5063 GB, free: 3.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.371e-05/0.3455, allocations: 12.03 kB / 0.5063 GB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.544e-05/0.3456, allocations: 28.84 kB / 0.5064 GB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.3456, allocations: 96 / 0.5064 GB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007527/0.3464, allocations: 1.241 MB / 0.5076 GB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3464, allocations: 4.031 kB / 0.5076 GB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.3467, allocations: 248.5 kB / 0.5078 GB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.3467, allocations: 85.12 kB / 0.5079 GB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-06/0.3467, allocations: 0 / 0.5079 GB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/0.3468, allocations: 3.953 kB / 0.5079 GB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.3468, allocations: 7.938 kB / 0.5079 GB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.3468, allocations: 11.98 kB / 0.5079 GB, free: 1.594 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.068e-05/0.3469, allocations: 79.28 kB / 0.508 GB, free: 1.516 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3469, allocations: 0 / 0.508 GB, free: 1.516 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.3471, allocations: 12.06 kB / 0.508 GB, free: 1.504 MB / 346.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 () * 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.0005436/0.3477, allocations: 0.985 MB / 0.509 GB, free: 480 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.348, allocations: 161.7 kB / 0.5091 GB, free: 308 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.348, allocations: 0 / 0.5091 GB, free: 308 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.3481, allocations: 129.8 kB / 0.5092 GB, free: 168 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.3483, allocations: 12.14 kB / 0.5093 GB, free: 156 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.3487, allocations: 164.3 kB / 0.5094 GB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.349, allocations: 0.6885 MB / 0.5101 GB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.237e-05/0.3491, allocations: 4.188 kB / 0.5101 GB, free: 15.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.3491, allocations: 11.44 kB / 0.5101 GB, free: 15.21 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3491, allocations: 4 kB / 0.5101 GB, free: 15.21 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.3674, allocations: 1.103 MB / 0.5112 GB, free: 14.14 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.3676, allocations: 235.2 kB / 0.5114 GB, free: 13.85 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/1.914, allocations: 0 / 0.5114 GB, free: 13.85 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)