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.001657/0.001657, allocations: 174.7 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.449/1.449, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008256/0.0008256, allocations: 88.58 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.002589/0.002589, allocations: 0.5552 MB / 337 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.759e-05/2.774e-05, allocations: 0 / 395.6 MB, free: 70.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1078, allocations: 50.58 MB / 446.1 MB, free: 19.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4435/0.5513, allocations: 76.51 MB / 0.5104 GB, free: 10.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001849/0.5516, allocations: 61.53 kB / 0.5105 GB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007641/0.5592, allocations: 2.981 MB / 0.5134 GB, free: 8.301 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5592, allocations: 3.938 kB / 0.5134 GB, free: 8.297 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.5593, allocations: 4 kB / 0.5134 GB, free: 8.293 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.0003742/0.5596, allocations: 373.7 kB / 0.5137 GB, free: 7.887 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.5597, allocations: 12.03 kB / 0.5138 GB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.682e-05/0.5597, allocations: 45.73 kB / 0.5138 GB, free: 7.828 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.5598, allocations: 11.86 kB / 0.5138 GB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.5599, allocations: 178.8 kB / 0.514 GB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.046e-06/0.5599, allocations: 4.188 kB / 0.514 GB, free: 7.598 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.5599, allocations: 11.38 kB / 0.514 GB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.5601, allocations: 87.3 kB / 0.5141 GB, free: 7.523 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.5601, allocations: 3.25 kB / 0.5141 GB, free: 7.523 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.5601, allocations: 8 kB / 0.5141 GB, free: 7.516 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.5601, allocations: 3.953 kB / 0.5141 GB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.954e-05/0.5602, allocations: 56.55 kB / 0.5141 GB, free: 7.473 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.5607, allocations: 383.3 kB / 0.5145 GB, free: 7.098 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.5609, allocations: 97.64 kB / 0.5146 GB, free: 7.016 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.561, allocations: 46.69 kB / 0.5146 GB, free: 6.984 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.561, allocations: 0 / 0.5146 GB, free: 6.984 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.561, allocations: 30.56 kB / 0.5147 GB, free: 6.945 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 9.12e-07/0.561, allocations: 0 / 0.5147 GB, free: 6.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.000956/0.562, allocations: 0.6532 MB / 0.5153 GB, free: 6.277 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.562, allocations: 55.41 kB / 0.5154 GB, free: 6.211 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.5621, allocations: 118.5 kB / 0.5155 GB, free: 6.098 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.5621, allocations: 29.7 kB / 0.5155 GB, free: 6.062 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.5622, allocations: 99.25 kB / 0.5156 GB, free: 5.965 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.5623, allocations: 53.67 kB / 0.5157 GB, free: 5.918 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-06/0.5623, allocations: 3.812 kB / 0.5157 GB, free: 5.918 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5624, allocations: 326.5 kB / 0.516 GB, free: 5.594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.42e-05/0.5625, allocations: 31.81 kB / 0.516 GB, free: 5.574 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.108e-05/0.5626, allocations: 61.06 kB / 0.5161 GB, free: 5.52 MB / 330.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.0004153/0.563, allocations: 278.7 kB / 0.5163 GB, free: 5.238 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.563, allocations: 3.938 kB / 0.5163 GB, free: 5.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001944/0.5632, allocations: 139 kB / 0.5165 GB, free: 5.121 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.5632, allocations: 7.984 kB / 0.5165 GB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.5632, allocations: 4 kB / 0.5165 GB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.659e-06/0.5633, allocations: 3.953 kB / 0.5165 GB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.5634, allocations: 31.98 kB / 0.5165 GB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5634, allocations: 4 kB / 0.5165 GB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.5635, allocations: 3 kB / 0.5165 GB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.5635, allocations: 8.031 kB / 0.5165 GB, free: 5.062 MB / 330.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.329e-05/0.5636, allocations: 119.7 kB / 0.5166 GB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.5636, allocations: 7.906 kB / 0.5166 GB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.5637, allocations: 16.38 kB / 0.5167 GB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.5637, allocations: 3.953 kB / 0.5167 GB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5637, allocations: 4 kB / 0.5167 GB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5637, allocations: 0 / 0.5167 GB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006744/0.5644, allocations: 0.5901 MB / 0.5172 GB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5644, allocations: 0 / 0.5172 GB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.5645, allocations: 31.92 kB / 0.5173 GB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-05/0.5646, allocations: 20.47 kB / 0.5173 GB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.5646, allocations: 7.656 kB / 0.5173 GB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.5657, allocations: 1.267 MB / 0.5185 GB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5658, allocations: 4.156 kB / 0.5185 GB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.5661, allocations: 334.2 kB / 0.5189 GB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.5662, allocations: 89 kB / 0.5189 GB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.5662, allocations: 11.17 kB / 0.519 GB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.295e-05/0.5663, allocations: 11.81 kB / 0.519 GB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.5663, allocations: 7.984 kB / 0.519 GB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.5664, allocations: 4 kB / 0.519 GB, free: 2.434 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.401e-05/0.5664, allocations: 93.84 kB / 0.5191 GB, free: 2.348 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5664, allocations: 0 / 0.5191 GB, free: 2.348 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002389/0.5667, allocations: 27.88 kB / 0.5191 GB, free: 2.324 MB / 330.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.0007043/0.5674, allocations: 1.077 MB / 0.5201 GB, free: 1.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.5676, allocations: 97.7 kB / 0.5202 GB, free: 1.176 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5676, allocations: 3.375 kB / 0.5202 GB, free: 1.176 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.5678, allocations: 164 kB / 0.5204 GB, free: 1.016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.568, allocations: 30.8 kB / 0.5204 GB, free: 0.9922 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005927/0.5686, allocations: 332.2 kB / 0.5207 GB, free: 0.6445 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.569, allocations: 0.7087 MB / 0.5214 GB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.78e-05/0.569, allocations: 12.77 kB / 0.5214 GB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.5691, allocations: 35.31 kB / 0.5215 GB, free: 15.88 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5691, allocations: 7.938 kB / 0.5215 GB, free: 15.87 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.5866, allocations: 2.583 MB / 0.524 GB, free: 13.55 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/0.5869, allocations: 227.4 kB / 0.5242 GB, free: 13.33 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.137, allocations: 0 / 0.5242 GB, free: 13.33 MB / 346.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)