Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",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.001553/0.001554, allocations: 173.9 kB / 7.646 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.591/1.591, allocations: 221.5 MB / 229.6 MB, free: 7.535 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.0008581/0.0008582, allocations: 102 kB / 280.5 MB, free: 5.281 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.002557/0.002557, allocations: 0.5718 MB / 331.8 MB, free: 14.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.96e-05/1.963e-05, allocations: 0 / 388.7 MB, free: 5.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2795, allocations: 50.57 MB / 439.3 MB, free: 19.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.388, allocations: 74.47 MB / 0.5017 GB, free: 8.789 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.3883, allocations: 67.91 kB / 0.5017 GB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001524/0.3898, allocations: 0.62 MB / 0.5024 GB, free: 8.102 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3898, allocations: 0 / 0.5024 GB, free: 8.102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.3898, allocations: 0 / 0.5024 GB, free: 8.102 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.0003125/0.3901, allocations: 326.5 kB / 0.5027 GB, free: 7.738 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.3902, allocations: 8.031 kB / 0.5027 GB, free: 7.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.3902, allocations: 11.86 kB / 0.5027 GB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.3904, allocations: 163.1 kB / 0.5028 GB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3904, allocations: 0 / 0.5028 GB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.3904, allocations: 8 kB / 0.5028 GB, free: 7.512 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.354e-05/0.3905, allocations: 19.92 kB / 0.5029 GB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.949e-05/0.3906, allocations: 37.16 kB / 0.5029 GB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3906, allocations: 0 / 0.5029 GB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.3906, allocations: 3.938 kB / 0.5029 GB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3907, allocations: 7.938 kB / 0.5029 GB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.391, allocations: 263.2 kB / 0.5032 GB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.985e-05/0.3911, allocations: 46.5 kB / 0.5032 GB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.3911, allocations: 12.86 kB / 0.5032 GB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.3912, allocations: 0 / 0.5032 GB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.3912, allocations: 34.56 kB / 0.5033 GB, free: 7.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3912, allocations: 0 / 0.5033 GB, free: 7.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002318/0.3914, allocations: 66.48 kB / 0.5033 GB, free: 6.953 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.3915, allocations: 51.41 kB / 0.5034 GB, free: 6.891 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.76e-05/0.3915, allocations: 101 kB / 0.5035 GB, free: 6.785 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3916, allocations: 29.64 kB / 0.5035 GB, free: 6.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.3916, allocations: 80.14 kB / 0.5036 GB, free: 6.668 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.3916, allocations: 15.81 kB / 0.5036 GB, free: 6.652 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.3917, allocations: 0 / 0.5036 GB, free: 6.652 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3918, allocations: 314.8 kB / 0.5039 GB, free: 6.336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.3918, allocations: 8 kB / 0.5039 GB, free: 6.328 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.079e-05/0.3918, allocations: 21.72 kB / 0.5039 GB, free: 6.301 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.108e-05/0.3919, allocations: 8 kB / 0.5039 GB, free: 6.293 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3919, allocations: 0 / 0.5039 GB, free: 6.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.281e-05/0.392, allocations: 49.69 kB / 0.504 GB, free: 6.238 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.392, allocations: 11.94 kB / 0.504 GB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.392, allocations: 3.938 kB / 0.504 GB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.392, allocations: 3.953 kB / 0.504 GB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.786e-05/0.3921, allocations: 20.11 kB / 0.504 GB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.3921, allocations: 0 / 0.504 GB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.3922, allocations: 7.938 kB / 0.504 GB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.3922, allocations: 4 kB / 0.504 GB, free: 6.188 MB / 346.7 MB 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 (6): * Single equations (assignments): 6 * 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 6.451e-05/0.3922, allocations: 108.9 kB / 0.5041 GB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001234/0.3924, allocations: 66.42 kB / 0.5042 GB, free: 6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.3924, allocations: 4 kB / 0.5042 GB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.3924, allocations: 4.125 kB / 0.5042 GB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3924, allocations: 0 / 0.5042 GB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3925, allocations: 0 / 0.5042 GB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3925, allocations: 0 / 0.5042 GB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.3926, allocations: 146.1 kB / 0.5043 GB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3926, allocations: 0 / 0.5043 GB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.3926, allocations: 4 kB / 0.5043 GB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001368/0.3928, allocations: 20.8 kB / 0.5044 GB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.3928, allocations: 0 / 0.5044 GB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008499/0.3937, allocations: 1.198 MB / 0.5055 GB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3937, allocations: 3.984 kB / 0.5055 GB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.3939, allocations: 168.3 kB / 0.5057 GB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.3939, allocations: 89.23 kB / 0.5058 GB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.794e-06/0.3939, allocations: 4 kB / 0.5058 GB, free: 4.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.394, allocations: 0 / 0.5058 GB, free: 4.168 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.394, allocations: 0 / 0.5058 GB, free: 4.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-06/0.394, allocations: 8 kB / 0.5058 GB, free: 4.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.016e-05/0.3941, allocations: 79.28 kB / 0.5059 GB, free: 4.082 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3941, allocations: 3.938 kB / 0.5059 GB, free: 4.078 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002166/0.3943, allocations: 8 kB / 0.5059 GB, free: 4.07 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004597/0.3948, allocations: 0.702 MB / 0.5066 GB, free: 3.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.711e-05/0.3948, allocations: 27.94 kB / 0.5066 GB, free: 3.312 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3949, allocations: 0 / 0.5066 GB, free: 3.312 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.395, allocations: 117.8 kB / 0.5067 GB, free: 3.188 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.3952, allocations: 4.125 kB / 0.5067 GB, free: 3.184 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.3955, allocations: 137.7 kB / 0.5068 GB, free: 3.012 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.3958, allocations: 0.6807 MB / 0.5075 GB, free: 2.305 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.928e-05/0.3959, allocations: 3.984 kB / 0.5075 GB, free: 2.301 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.3959, allocations: 11.44 kB / 0.5075 GB, free: 2.289 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3959, allocations: 0 / 0.5075 GB, free: 2.289 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.4171, allocations: 0.8397 MB / 0.5083 GB, free: 1.484 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/0.4174, allocations: 208 kB / 0.5085 GB, free: 1.203 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.459/1.876, allocations: 2.062 kB / 0.5085 GB, free: 1.203 MB / 346.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)