Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",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.001716/0.001716, allocations: 173.9 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.607/1.607, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008325/0.0008328, allocations: 91.36 kB / 285.6 MB, free: 13.02 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.002562/0.002563, allocations: 0.5559 MB / 337 MB, free: 9.52 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/3.015e-05, allocations: 4 kB / 395.6 MB, free: 70.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08997/0.09001, allocations: 50.58 MB / 446.1 MB, free: 19.91 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3894/0.4795, allocations: 76.42 MB / 0.5103 GB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.4798, allocations: 61.84 kB / 0.5104 GB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006622/0.4864, allocations: 2.431 MB / 0.5128 GB, free: 9.234 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4865, allocations: 0 / 0.5128 GB, free: 9.234 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.4865, allocations: 4 kB / 0.5128 GB, free: 9.23 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005618/0.4871, allocations: 377.4 kB / 0.5131 GB, free: 8.824 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.497e-05/0.4871, allocations: 12.03 kB / 0.5131 GB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.4872, allocations: 41.98 kB / 0.5132 GB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.4873, allocations: 19.73 kB / 0.5132 GB, free: 8.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.4874, allocations: 170.9 kB / 0.5133 GB, free: 8.543 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.4875, allocations: 4.188 kB / 0.5134 GB, free: 8.539 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.4875, allocations: 10.88 kB / 0.5134 GB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.4877, allocations: 92.67 kB / 0.5135 GB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4877, allocations: 0 / 0.5135 GB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.4878, allocations: 7.125 kB / 0.5135 GB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.4878, allocations: 3.953 kB / 0.5135 GB, free: 8.453 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.4879, allocations: 55.8 kB / 0.5135 GB, free: 8.414 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006087/0.4885, allocations: 398 kB / 0.5139 GB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.4887, allocations: 94.86 kB / 0.514 GB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.961e-05/0.4888, allocations: 42 kB / 0.514 GB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.4888, allocations: 4 kB / 0.514 GB, free: 7.914 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.4889, allocations: 34.5 kB / 0.5141 GB, free: 7.871 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.4889, allocations: 0 / 0.5141 GB, free: 7.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001078/0.49, allocations: 0.6479 MB / 0.5147 GB, free: 7.211 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.49, allocations: 63.39 kB / 0.5148 GB, free: 7.137 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/0.4901, allocations: 104.7 kB / 0.5149 GB, free: 7.035 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.4902, allocations: 32.7 kB / 0.5149 GB, free: 7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.968e-05/0.4902, allocations: 96.45 kB / 0.515 GB, free: 6.902 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.4903, allocations: 57.95 kB / 0.515 GB, free: 6.855 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.4903, allocations: 3.938 kB / 0.515 GB, free: 6.852 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4904, allocations: 322.7 kB / 0.5153 GB, free: 6.531 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.247e-05/0.4905, allocations: 30.62 kB / 0.5154 GB, free: 6.512 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.481e-05/0.4906, allocations: 63.03 kB / 0.5154 GB, free: 6.457 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.657e-05/0.4906, allocations: 33.25 kB / 0.5155 GB, free: 6.438 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4906, allocations: 3.984 kB / 0.5155 GB, free: 6.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002868/0.4909, allocations: 171.4 kB / 0.5156 GB, free: 6.289 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.491, allocations: 4 kB / 0.5156 GB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.491, allocations: 0 / 0.5156 GB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/0.4911, allocations: 36.06 kB / 0.5157 GB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.4913, allocations: 23.98 kB / 0.5157 GB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.4926, allocations: 1.454 MB / 0.5171 GB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.4926, allocations: 0 / 0.5171 GB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.4927, allocations: 10.94 kB / 0.5171 GB, free: 4.723 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.696e-05/0.4928, allocations: 108.3 kB / 0.5172 GB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.4928, allocations: 7.906 kB / 0.5172 GB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.657e-05/0.4929, allocations: 17.67 kB / 0.5173 GB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4929, allocations: 4 kB / 0.5173 GB, free: 4.586 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4929, allocations: 0 / 0.5173 GB, free: 4.586 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4929, allocations: 8.016 kB / 0.5173 GB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006774/0.4936, allocations: 0.5335 MB / 0.5178 GB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4936, allocations: 0 / 0.5178 GB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.4937, allocations: 31.3 kB / 0.5178 GB, free: 4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.896e-05/0.4938, allocations: 24.02 kB / 0.5178 GB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.4938, allocations: 0 / 0.5178 GB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009658/0.4948, allocations: 1.278 MB / 0.5191 GB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.4948, allocations: 4.031 kB / 0.5191 GB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.4953, allocations: 332.8 kB / 0.5194 GB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.4953, allocations: 85.02 kB / 0.5195 GB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.4953, allocations: 11.95 kB / 0.5195 GB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.4954, allocations: 3.438 kB / 0.5195 GB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.4955, allocations: 15.05 kB / 0.5195 GB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.4955, allocations: 4 kB / 0.5195 GB, free: 2.156 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.125e-05/0.4955, allocations: 109.5 kB / 0.5196 GB, free: 2.055 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4955, allocations: 0 / 0.5196 GB, free: 2.055 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002941/0.4958, allocations: 27.94 kB / 0.5197 GB, free: 2.031 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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.0007101/0.4966, allocations: 1.072 MB / 0.5207 GB, free: 0.9648 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.4969, allocations: 210.9 kB / 0.5209 GB, free: 0.7773 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.497, allocations: 0 / 0.5209 GB, free: 0.7773 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.4972, allocations: 173.8 kB / 0.5211 GB, free: 0.6094 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.4974, allocations: 25.61 kB / 0.5211 GB, free: 0.5898 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006897/0.4982, allocations: 336.9 kB / 0.5214 GB, free: 248 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.4984, allocations: 0.7087 MB / 0.5221 GB, free: 15.51 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.532e-05/0.4985, allocations: 12.77 kB / 0.5221 GB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.4986, allocations: 29.55 kB / 0.5221 GB, free: 15.48 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.4986, allocations: 0 / 0.5221 GB, free: 15.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01383/0.5124, allocations: 2.594 MB / 0.5247 GB, free: 13.15 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.5126, allocations: 230.9 kB / 0.5249 GB, free: 12.92 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/2.086, allocations: 3.938 kB / 0.5249 GB, free: 12.92 MB / 346.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)