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.001385/0.001385, allocations: 176.2 kB / 7.648 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.515/1.515, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.0008961/0.0008961, allocations: 89.88 kB / 280.5 MB, free: 5.336 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.002425/0.002426, allocations: 0.5506 MB / 331.8 MB, free: 14.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.65e-05/1.66e-05, allocations: 4 kB / 388.7 MB, free: 5.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2877, allocations: 50.57 MB / 439.3 MB, free: 19.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.4072, allocations: 74.52 MB / 0.5017 GB, free: 8.648 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.4075, allocations: 67.91 kB / 0.5018 GB, free: 8.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001909/0.4094, allocations: 0.6784 MB / 0.5025 GB, free: 7.902 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4094, allocations: 0 / 0.5025 GB, free: 7.902 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.4094, allocations: 4 kB / 0.5025 GB, free: 7.898 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.0003816/0.4098, allocations: 322 kB / 0.5028 GB, free: 7.543 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/0.4099, allocations: 8.031 kB / 0.5028 GB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.4099, allocations: 11.84 kB / 0.5028 GB, free: 7.523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.4101, allocations: 167 kB / 0.503 GB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.4102, allocations: 0 / 0.503 GB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.4102, allocations: 4 kB / 0.503 GB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001066/0.4103, allocations: 12 kB / 0.503 GB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.4104, allocations: 45.62 kB / 0.503 GB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.4105, allocations: 4 kB / 0.503 GB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.4105, allocations: 3.938 kB / 0.503 GB, free: 7.246 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.4105, allocations: 7.953 kB / 0.503 GB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.4109, allocations: 217.5 kB / 0.5032 GB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.411, allocations: 42.64 kB / 0.5033 GB, free: 6.938 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.4111, allocations: 16.98 kB / 0.5033 GB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.4111, allocations: 8 kB / 0.5033 GB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.4111, allocations: 34.5 kB / 0.5033 GB, free: 6.867 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.4111, allocations: 0 / 0.5033 GB, free: 6.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008107/0.412, allocations: 478.1 kB / 0.5038 GB, free: 6.305 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.412, allocations: 55.41 kB / 0.5038 GB, free: 6.238 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.118e-05/0.4121, allocations: 89 kB / 0.5039 GB, free: 6.145 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.4121, allocations: 25.7 kB / 0.504 GB, free: 6.113 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.4122, allocations: 88.12 kB / 0.504 GB, free: 6.023 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.4122, allocations: 23.56 kB / 0.5041 GB, free: 6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.4122, allocations: 4 kB / 0.5041 GB, free: 5.996 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4124, allocations: 322.8 kB / 0.5044 GB, free: 5.672 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.838e-05/0.4124, allocations: 12 kB / 0.5044 GB, free: 5.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.463e-05/0.4125, allocations: 29.72 kB / 0.5044 GB, free: 5.625 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.4128, allocations: 198.3 kB / 0.5046 GB, free: 5.395 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.4128, allocations: 4 kB / 0.5046 GB, free: 5.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000115/0.4129, allocations: 61.69 kB / 0.5047 GB, free: 5.324 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.4129, allocations: 19.88 kB / 0.5047 GB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4129, allocations: 3.938 kB / 0.5047 GB, free: 5.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.413, allocations: 0 / 0.5047 GB, free: 5.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.4131, allocations: 16 kB / 0.5047 GB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.4131, allocations: 4 kB / 0.5047 GB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.4131, allocations: 0 / 0.5047 GB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.4131, allocations: 7.984 kB / 0.5047 GB, free: 5.273 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: $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 () * 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.000127/0.4133, allocations: 105 kB / 0.5048 GB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000155/0.4134, allocations: 82.34 kB / 0.5049 GB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.4135, allocations: 7.984 kB / 0.5049 GB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.4135, allocations: 4.641 kB / 0.5049 GB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.4135, allocations: 8.688 kB / 0.5049 GB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4135, allocations: 0 / 0.5049 GB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.4136, allocations: 3.984 kB / 0.5049 GB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.414, allocations: 342.3 kB / 0.5052 GB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.414, allocations: 0 / 0.5052 GB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.4141, allocations: 12.08 kB / 0.5053 GB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001169/0.4142, allocations: 28.88 kB / 0.5053 GB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.4142, allocations: 4 kB / 0.5053 GB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.4153, allocations: 1.233 MB / 0.5065 GB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.4153, allocations: 4.062 kB / 0.5065 GB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.4156, allocations: 252 kB / 0.5067 GB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.4157, allocations: 77.11 kB / 0.5068 GB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.4157, allocations: 4.031 kB / 0.5068 GB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.222e-05/0.4158, allocations: 0 / 0.5068 GB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.4158, allocations: 15.94 kB / 0.5068 GB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.4158, allocations: 4 kB / 0.5068 GB, free: 2.844 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.549e-05/0.4158, allocations: 75.28 kB / 0.5069 GB, free: 2.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4158, allocations: 0 / 0.5069 GB, free: 2.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.4161, allocations: 12.06 kB / 0.5069 GB, free: 2.758 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.0007781/0.4169, allocations: 0.9973 MB / 0.5079 GB, free: 1.711 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.417, allocations: 39.94 kB / 0.5079 GB, free: 1.672 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.417, allocations: 0 / 0.5079 GB, free: 1.672 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.4173, allocations: 137.7 kB / 0.5081 GB, free: 1.527 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.4174, allocations: 1.625 kB / 0.5081 GB, free: 1.527 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.4179, allocations: 160.6 kB / 0.5082 GB, free: 1.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.4181, allocations: 0.6923 MB / 0.5089 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.69e-05/0.4182, allocations: 8.172 kB / 0.5089 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.4182, allocations: 9 kB / 0.5089 GB, free: 0.582 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4182, allocations: 4 kB / 0.5089 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.4405, allocations: 1.018 MB / 0.5099 GB, free: 15.59 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002864/0.4409, allocations: 212.9 kB / 0.5101 GB, free: 15.31 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2, allocations: 3.938 kB / 0.5101 GB, free: 15.3 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)