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.001351/0.00135, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.598/1.598, allocations: 221.4 MB / 234.6 MB, free: 14.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008933/0.0008932, allocations: 97.78 kB / 285.6 MB, free: 13 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.002503/0.002503, allocations: 0.5616 MB / 337.1 MB, free: 9.504 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.423e-05/3.426e-05, allocations: 4 kB / 395.6 MB, free: 70.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09702/0.09707, allocations: 50.58 MB / 446.1 MB, free: 19.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4122/0.5093, allocations: 75.19 MB / 0.5091 GB, free: 12.53 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.5096, allocations: 60.41 kB / 0.5092 GB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001735/0.5114, allocations: 0.6782 MB / 0.5098 GB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5114, allocations: 0 / 0.5098 GB, free: 11.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.5114, allocations: 4 kB / 0.5098 GB, free: 11.89 MB / 330.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.0002805/0.5117, allocations: 327.2 kB / 0.5102 GB, free: 11.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.5117, allocations: 8.031 kB / 0.5102 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.099e-05/0.5118, allocations: 38.55 kB / 0.5102 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.5118, allocations: 8.641 kB / 0.5102 GB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.512, allocations: 170.8 kB / 0.5104 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.512, allocations: 6.953 kB / 0.5104 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.512, allocations: 4 kB / 0.5104 GB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.5121, allocations: 48.44 kB / 0.5104 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.5121, allocations: 3.984 kB / 0.5104 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.5122, allocations: 0 / 0.5104 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.5122, allocations: 3.953 kB / 0.5104 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.563e-05/0.5122, allocations: 14.88 kB / 0.5104 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003191/0.5125, allocations: 242.1 kB / 0.5107 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.5127, allocations: 53.44 kB / 0.5107 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.5127, allocations: 20.8 kB / 0.5107 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.5127, allocations: 4 kB / 0.5108 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.5128, allocations: 33.56 kB / 0.5108 GB, free: 10.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.5128, allocations: 0 / 0.5108 GB, free: 10.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007105/0.5135, allocations: 0.4941 MB / 0.5113 GB, free: 10.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.5135, allocations: 51.41 kB / 0.5113 GB, free: 10.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.967e-05/0.5136, allocations: 92.31 kB / 0.5114 GB, free: 10.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.5136, allocations: 25.7 kB / 0.5114 GB, free: 10.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.5137, allocations: 87.52 kB / 0.5115 GB, free: 9.973 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.5137, allocations: 27.05 kB / 0.5115 GB, free: 9.949 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.5137, allocations: 4 kB / 0.5115 GB, free: 9.945 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.5139, allocations: 317.8 kB / 0.5118 GB, free: 9.629 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.153e-05/0.5139, allocations: 15.06 kB / 0.5119 GB, free: 9.617 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/0.5139, allocations: 39.64 kB / 0.5119 GB, free: 9.578 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.5142, allocations: 195.7 kB / 0.5121 GB, free: 9.359 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.5142, allocations: 3.828 kB / 0.5121 GB, free: 9.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001083/0.5143, allocations: 78.89 kB / 0.5122 GB, free: 9.289 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.5143, allocations: 4.781 kB / 0.5122 GB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.5143, allocations: 0 / 0.5122 GB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.5144, allocations: 4 kB / 0.5122 GB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.5145, allocations: 27.92 kB / 0.5122 GB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.5145, allocations: 0 / 0.5122 GB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.5145, allocations: 0 / 0.5122 GB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.5146, allocations: 7.375 kB / 0.5122 GB, free: 9.25 MB / 330.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.0001164/0.5147, allocations: 101 kB / 0.5123 GB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.5147, allocations: 11.86 kB / 0.5123 GB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.01e-05/0.5148, allocations: 15.08 kB / 0.5123 GB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.5148, allocations: 0 / 0.5123 GB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.5148, allocations: 8 kB / 0.5123 GB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.5148, allocations: 0 / 0.5123 GB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.5152, allocations: 368 kB / 0.5127 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5152, allocations: 0 / 0.5127 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.221e-05/0.5153, allocations: 11.94 kB / 0.5127 GB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/0.5154, allocations: 20.94 kB / 0.5127 GB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.5154, allocations: 7.938 kB / 0.5127 GB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.5164, allocations: 1.285 MB / 0.514 GB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.5165, allocations: 12.05 kB / 0.514 GB, free: 7.277 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.5167, allocations: 257.1 kB / 0.5142 GB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.5168, allocations: 85.12 kB / 0.5143 GB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.235e-06/0.5168, allocations: 0 / 0.5143 GB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.382e-05/0.5168, allocations: 4 kB / 0.5143 GB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.5169, allocations: 11.92 kB / 0.5143 GB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.5169, allocations: 0 / 0.5143 GB, free: 6.891 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.61e-05/0.5169, allocations: 79.28 kB / 0.5144 GB, free: 6.812 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5169, allocations: 0 / 0.5144 GB, free: 6.812 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002192/0.5172, allocations: 15.77 kB / 0.5144 GB, free: 6.801 MB / 330.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.000583/0.5177, allocations: 1.007 MB / 0.5154 GB, free: 5.766 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.5179, allocations: 46.17 kB / 0.5155 GB, free: 5.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.5179, allocations: 4 kB / 0.5155 GB, free: 5.727 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.5181, allocations: 142 kB / 0.5156 GB, free: 5.582 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.5182, allocations: 6.188 kB / 0.5156 GB, free: 5.578 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.5187, allocations: 168.3 kB / 0.5158 GB, free: 5.383 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.5189, allocations: 0.6887 MB / 0.5164 GB, free: 4.668 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.395e-05/0.5189, allocations: 4.188 kB / 0.5164 GB, free: 4.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.519, allocations: 15 kB / 0.5164 GB, free: 4.652 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.519, allocations: 0 / 0.5164 GB, free: 4.652 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0125/0.5315, allocations: 1.43 MB / 0.5178 GB, free: 3.48 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/0.5318, allocations: 234.7 kB / 0.5181 GB, free: 3.172 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/2.068, allocations: 0 / 0.5181 GB, free: 3.172 MB / 330.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)