Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",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.00218/0.002181, allocations: 174.6 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.508/1.508, allocations: 221.4 MB / 234.6 MB, free: 14.39 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.0008939/0.0008938, allocations: 85.83 kB / 285.6 MB, free: 12.98 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.004887/0.004887, allocations: 0.5531 MB / 337 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.008e-05/3.018e-05, allocations: 4 kB / 395.6 MB, free: 70.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1057, allocations: 50.58 MB / 446.1 MB, free: 19.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4069/0.5127, allocations: 75.07 MB / 0.509 GB, free: 12.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.513, allocations: 67.31 kB / 0.5091 GB, free: 12.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001288/0.5143, allocations: 0.5766 MB / 0.5096 GB, free: 12.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5143, allocations: 0.5312 kB / 0.5096 GB, free: 12.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.5143, allocations: 0.7812 kB / 0.5096 GB, free: 12.09 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.0003195/0.5147, allocations: 326.2 kB / 0.5099 GB, free: 11.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.5147, allocations: 12.56 kB / 0.51 GB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.197e-05/0.5148, allocations: 33.5 kB / 0.51 GB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.5148, allocations: 16.64 kB / 0.51 GB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.515, allocations: 159.1 kB / 0.5101 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.515, allocations: 0 / 0.5101 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.515, allocations: 10.09 kB / 0.5102 GB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.5151, allocations: 41.06 kB / 0.5102 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.5151, allocations: 0 / 0.5102 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.5152, allocations: 0 / 0.5102 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.5152, allocations: 7.953 kB / 0.5102 GB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.601e-05/0.5152, allocations: 19.3 kB / 0.5102 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.5157, allocations: 285.6 kB / 0.5105 GB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.608e-05/0.5158, allocations: 41.64 kB / 0.5105 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.5158, allocations: 12.61 kB / 0.5105 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.5159, allocations: 3.938 kB / 0.5106 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.5159, allocations: 34.52 kB / 0.5106 GB, free: 10.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.5159, allocations: 4 kB / 0.5106 GB, free: 10.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002522/0.5162, allocations: 69.66 kB / 0.5107 GB, free: 10.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.5162, allocations: 51.41 kB / 0.5107 GB, free: 10.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.5163, allocations: 93.03 kB / 0.5108 GB, free: 10.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.5163, allocations: 32.95 kB / 0.5108 GB, free: 10.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.5164, allocations: 88.08 kB / 0.5109 GB, free: 10.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.5164, allocations: 15.73 kB / 0.5109 GB, free: 10.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.5164, allocations: 3.938 kB / 0.5109 GB, free: 10.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5166, allocations: 314.8 kB / 0.5112 GB, free: 10.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.5166, allocations: 11.31 kB / 0.5112 GB, free: 10.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.111e-05/0.5166, allocations: 21.41 kB / 0.5113 GB, free: 10.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.5167, allocations: 11.23 kB / 0.5113 GB, free: 10.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.5167, allocations: 0 / 0.5113 GB, free: 10.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001242/0.5168, allocations: 73.31 kB / 0.5113 GB, free: 10.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5168, allocations: 13.66 kB / 0.5114 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.5168, allocations: 32 / 0.5114 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001454/0.517, allocations: 20.84 kB / 0.5114 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.905e-05/0.5171, allocations: 7.875 kB / 0.5114 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.5181, allocations: 1.25 MB / 0.5126 GB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.085e-05/0.5181, allocations: 7.188 kB / 0.5126 GB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.5181, allocations: 0 / 0.5126 GB, free: 8.781 MB / 330.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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 9.149e-05/0.5182, allocations: 109 kB / 0.5127 GB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.5182, allocations: 0 / 0.5127 GB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.5183, allocations: 7.312 kB / 0.5127 GB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5183, allocations: 4.094 kB / 0.5127 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.5183, allocations: 4 kB / 0.5127 GB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5183, allocations: 0 / 0.5127 GB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.5185, allocations: 172.6 kB / 0.5129 GB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5185, allocations: 0 / 0.5129 GB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.5185, allocations: 3.984 kB / 0.5129 GB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.674e-05/0.5186, allocations: 20.67 kB / 0.5129 GB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.5186, allocations: 0 / 0.5129 GB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000858/0.5195, allocations: 1.249 MB / 0.5141 GB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5195, allocations: 0 / 0.5141 GB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.5197, allocations: 182.5 kB / 0.5143 GB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.5198, allocations: 77.11 kB / 0.5144 GB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-06/0.5198, allocations: 0 / 0.5144 GB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.411e-05/0.5198, allocations: 0 / 0.5144 GB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.5198, allocations: 11.8 kB / 0.5144 GB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.5199, allocations: 2.062 kB / 0.5144 GB, free: 6.777 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.492e-05/0.5199, allocations: 79.28 kB / 0.5145 GB, free: 6.699 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5199, allocations: 0 / 0.5145 GB, free: 6.699 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002091/0.5201, allocations: 4 kB / 0.5145 GB, free: 6.695 MB / 330.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.0005138/0.5207, allocations: 0.7114 MB / 0.5152 GB, free: 5.969 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00028/0.5209, allocations: 145.2 kB / 0.5153 GB, free: 5.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.521, allocations: 4.125 kB / 0.5153 GB, free: 5.816 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.5211, allocations: 126.5 kB / 0.5154 GB, free: 5.684 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.5213, allocations: 5.5 kB / 0.5154 GB, free: 5.684 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.5216, allocations: 138.7 kB / 0.5156 GB, free: 5.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.522, allocations: 0.6848 MB / 0.5162 GB, free: 4.809 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.862e-05/0.522, allocations: 0 / 0.5162 GB, free: 4.809 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.522, allocations: 11.44 kB / 0.5162 GB, free: 4.797 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.522, allocations: 4 kB / 0.5163 GB, free: 4.793 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.5357, allocations: 1.315 MB / 0.5175 GB, free: 3.727 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/0.536, allocations: 236.5 kB / 0.5178 GB, free: 3.418 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/2.049, allocations: 2.188 kB / 0.5178 GB, free: 3.418 MB / 330.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1)