Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",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.001555/0.001555, allocations: 180.9 kB / 7.651 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.617/1.617, allocations: 221.5 MB / 229.6 MB, free: 7.602 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.0009361/0.000936, allocations: 97.59 kB / 280.5 MB, free: 5.348 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.002396/0.002396, allocations: 0.5622 MB / 331.8 MB, free: 14.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.912e-05, allocations: 0 / 388.7 MB, free: 5.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2786, allocations: 50.56 MB / 439.2 MB, free: 19.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09956/0.3782, allocations: 75.85 MB / 0.503 GB, free: 7.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.3785, allocations: 67.89 kB / 0.5031 GB, free: 7.254 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007796/0.3863, allocations: 2.948 MB / 0.506 GB, free: 4.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3864, allocations: 0 / 0.506 GB, free: 4.285 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.3864, allocations: 4 kB / 0.506 GB, free: 4.281 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.0004136/0.3868, allocations: 374.4 kB / 0.5063 GB, free: 3.867 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3869, allocations: 12.03 kB / 0.5063 GB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.3869, allocations: 15.86 kB / 0.5064 GB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.3871, allocations: 182.8 kB / 0.5065 GB, free: 3.621 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.3871, allocations: 7.984 kB / 0.5065 GB, free: 3.613 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.3871, allocations: 4 kB / 0.5065 GB, free: 3.609 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001401/0.3873, allocations: 56.3 kB / 0.5066 GB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.3874, allocations: 70.98 kB / 0.5067 GB, free: 3.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3874, allocations: 4 kB / 0.5067 GB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.3875, allocations: 4 kB / 0.5067 GB, free: 3.473 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3875, allocations: 3.953 kB / 0.5067 GB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.388, allocations: 349.7 kB / 0.507 GB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.3882, allocations: 90.52 kB / 0.5071 GB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.45e-05/0.3882, allocations: 36.86 kB / 0.5071 GB, free: 2.953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.3883, allocations: 224 / 0.5071 GB, free: 2.953 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.3883, allocations: 34.5 kB / 0.5072 GB, free: 2.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.3883, allocations: 0 / 0.5072 GB, free: 2.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009646/0.3893, allocations: 0.609 MB / 0.5078 GB, free: 2.207 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.3893, allocations: 55.41 kB / 0.5078 GB, free: 2.141 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.3894, allocations: 113 kB / 0.5079 GB, free: 2.023 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.3895, allocations: 25.7 kB / 0.5079 GB, free: 1.992 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.3895, allocations: 99.97 kB / 0.508 GB, free: 1.891 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.3896, allocations: 59.11 kB / 0.5081 GB, free: 1.832 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.3896, allocations: 0 / 0.5081 GB, free: 1.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3897, allocations: 322.8 kB / 0.5084 GB, free: 1.508 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.3897, allocations: 36.12 kB / 0.5084 GB, free: 1.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.3898, allocations: 46.77 kB / 0.5085 GB, free: 1.418 MB / 346.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.a = $START.mass1.a ($START.mass2.a = $START.mass1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.3902, allocations: 274 kB / 0.5087 GB, free: 1.113 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3903, allocations: 4 kB / 0.5087 GB, free: 1.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001739/0.3904, allocations: 124.5 kB / 0.5089 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3905, allocations: 8 kB / 0.5089 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3905, allocations: 0 / 0.5089 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3905, allocations: 0 / 0.5089 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.3907, allocations: 36.36 kB / 0.5089 GB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3907, allocations: 7.953 kB / 0.5089 GB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/0.3908, allocations: 0 / 0.5089 GB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.3908, allocations: 4 kB / 0.5089 GB, free: 0.9297 MB / 346.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: mass2.v = $START.mass2.v mass1.a = $START.mass1.a. 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 (19): * Single equations (assignments): 19 * 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 9.555e-05/0.3909, allocations: 123.7 kB / 0.509 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002169/0.3911, allocations: 136.1 kB / 0.5092 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.3911, allocations: 7.906 kB / 0.5092 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.021e-05/0.3912, allocations: 20.72 kB / 0.5092 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3912, allocations: 4 kB / 0.5092 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3912, allocations: 0 / 0.5092 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3912, allocations: 0 / 0.5092 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/0.3918, allocations: 0.544 MB / 0.5097 GB, free: 8 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3918, allocations: 0 / 0.5097 GB, free: 8 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.392, allocations: 23.98 kB / 0.5098 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.3921, allocations: 20.86 kB / 0.5098 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.3921, allocations: 8.031 kB / 0.5098 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000863/0.393, allocations: 1.226 MB / 0.511 GB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.393, allocations: 4.156 kB / 0.511 GB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.3933, allocations: 327.8 kB / 0.5113 GB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.3934, allocations: 81.02 kB / 0.5114 GB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.3934, allocations: 4 kB / 0.5114 GB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.3935, allocations: 0 / 0.5114 GB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.3935, allocations: 15.98 kB / 0.5114 GB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3935, allocations: 4 kB / 0.5114 GB, free: 14.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.216e-05/0.3936, allocations: 87.27 kB / 0.5115 GB, free: 14.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3936, allocations: 0 / 0.5115 GB, free: 14.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000258/0.3938, allocations: 24 kB / 0.5115 GB, free: 14.01 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.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.0006608/0.3945, allocations: 1.071 MB / 0.5125 GB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.3947, allocations: 83.88 kB / 0.5126 GB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3948, allocations: 0 / 0.5126 GB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.395, allocations: 153.8 kB / 0.5128 GB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.3953, allocations: 16.3 kB / 0.5128 GB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006619/0.3959, allocations: 329.5 kB / 0.5131 GB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.3962, allocations: 0.7048 MB / 0.5138 GB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.59e-05/0.3963, allocations: 16.75 kB / 0.5138 GB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.3964, allocations: 35.36 kB / 0.5138 GB, free: 11.48 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3964, allocations: 7.938 kB / 0.5138 GB, free: 11.47 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.4189, allocations: 2.113 MB / 0.5159 GB, free: 9.406 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.4192, allocations: 201.4 kB / 0.5161 GB, free: 9.145 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/1.897, allocations: 0 / 0.5161 GB, free: 9.145 MB / 362.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1)