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.00493/0.00493, allocations: 172 kB / 15.11 MB, free: 5.98 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.371/1.371, allocations: 223.2 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 95.38 kB / 290.2 MB, free: 4.547 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.002442/0.002442, allocations: 0.5468 MB / 341.9 MB, free: 12.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003694, allocations: 8 kB / 403 MB, free: 15.17 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2638, allocations: 50.56 MB / 453.6 MB, free: 80.06 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.3801, allocations: 76.5 MB / 0.5177 GB, free: 3.461 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.3803, allocations: 71.95 kB / 0.5177 GB, free: 3.391 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007255/0.3876, allocations: 2.427 MB / 0.5201 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3877, allocations: 0 / 0.5201 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.3877, allocations: 4 kB / 0.5201 GB, free: 0.9492 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004365/0.3881, allocations: 387.7 kB / 0.5205 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.3882, allocations: 12.03 kB / 0.5205 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.3883, allocations: 34.56 kB / 0.5205 GB, free: 476 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.3883, allocations: 15.86 kB / 0.5205 GB, free: 460 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3884, allocations: 174.9 kB / 0.5207 GB, free: 244 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.3885, allocations: 8.188 kB / 0.5207 GB, free: 236 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.3885, allocations: 11.91 kB / 0.5207 GB, free: 224 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.3887, allocations: 94.16 kB / 0.5208 GB, free: 128 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.3888, allocations: 0 / 0.5208 GB, free: 128 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.3888, allocations: 8 kB / 0.5208 GB, free: 120 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3888, allocations: 3.953 kB / 0.5208 GB, free: 116 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.389, allocations: 56.53 kB / 0.5209 GB, free: 60 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008132/0.3898, allocations: 389.4 kB / 0.5212 GB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.3901, allocations: 102.4 kB / 0.5213 GB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.3901, allocations: 8 kB / 0.5213 GB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.3901, allocations: 34.5 kB / 0.5214 GB, free: 15.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.883e-06/0.3901, allocations: 0 / 0.5214 GB, free: 15.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001503/0.3917, allocations: 0.6804 MB / 0.522 GB, free: 14.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.3917, allocations: 55.41 kB / 0.5221 GB, free: 14.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3918, allocations: 117.3 kB / 0.5222 GB, free: 14.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.3919, allocations: 25.7 kB / 0.5222 GB, free: 14.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/0.392, allocations: 96.31 kB / 0.5223 GB, free: 14.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.799e-05/0.392, allocations: 55.2 kB / 0.5224 GB, free: 14.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.3921, allocations: 4 kB / 0.5224 GB, free: 14.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3922, allocations: 326.8 kB / 0.5227 GB, free: 13.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.3923, allocations: 31.98 kB / 0.5227 GB, free: 13.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.3924, allocations: 60.89 kB / 0.5228 GB, free: 13.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.3925, allocations: 40 kB / 0.5228 GB, free: 13.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3926, allocations: 0 / 0.5228 GB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003746/0.3929, allocations: 166.3 kB / 0.523 GB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.393, allocations: 5.875 kB / 0.523 GB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.393, allocations: 0 / 0.523 GB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001738/0.3932, allocations: 32.84 kB / 0.523 GB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.3934, allocations: 27.92 kB / 0.523 GB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.395, allocations: 1.448 MB / 0.5245 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.635e-05/0.3951, allocations: 11.98 kB / 0.5245 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.3952, allocations: 4 kB / 0.5245 GB, free: 12.01 MB / 362.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 () * Number of clocked 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 0.0001538/0.3953, allocations: 121.8 kB / 0.5246 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.3954, allocations: 23.88 kB / 0.5246 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.3954, allocations: 16.78 kB / 0.5246 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3954, allocations: 0 / 0.5246 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.3955, allocations: 4 kB / 0.5246 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3955, allocations: 0 / 0.5246 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008788/0.3964, allocations: 0.544 MB / 0.5252 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3964, allocations: 0 / 0.5252 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.3966, allocations: 27.92 kB / 0.5252 GB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.3967, allocations: 28.78 kB / 0.5252 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.3967, allocations: 4 kB / 0.5252 GB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.398, allocations: 1.277 MB / 0.5265 GB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.398, allocations: 0 / 0.5265 GB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.3985, allocations: 339.6 kB / 0.5268 GB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/0.3986, allocations: 85.05 kB / 0.5269 GB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.3986, allocations: 4 kB / 0.5269 GB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.3988, allocations: 15.89 kB / 0.5269 GB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.3988, allocations: 16.05 kB / 0.5269 GB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.3988, allocations: 4 kB / 0.5269 GB, free: 9.227 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.584e-05/0.3989, allocations: 99.31 kB / 0.527 GB, free: 9.129 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3989, allocations: 3.938 kB / 0.527 GB, free: 9.125 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004995/0.3994, allocations: 32 kB / 0.527 GB, free: 9.094 MB / 362.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 () * Number of clocked 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.0009846/0.4004, allocations: 1.068 MB / 0.5281 GB, free: 7.973 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004911/0.4009, allocations: 224 kB / 0.5283 GB, free: 7.746 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.401, allocations: 0 / 0.5283 GB, free: 7.746 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.4012, allocations: 174.5 kB / 0.5285 GB, free: 7.562 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.4016, allocations: 29.22 kB / 0.5285 GB, free: 7.535 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.4037, allocations: 1.206 MB / 0.5297 GB, free: 6.258 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.4042, allocations: 0.7087 MB / 0.5304 GB, free: 5.523 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.527e-05/0.4042, allocations: 8.641 kB / 0.5304 GB, free: 5.516 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-05/0.4043, allocations: 35.42 kB / 0.5304 GB, free: 5.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.011e-06/0.4044, allocations: 0 / 0.5304 GB, free: 5.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.4231, allocations: 2.586 MB / 0.5329 GB, free: 3.16 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003806/0.4236, allocations: 261.4 kB / 0.5332 GB, free: 2.82 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.066, allocations: 3.938 kB / 0.5332 GB, free: 2.816 MB / 362.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)