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.006357/0.006357, 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.337/1.337, allocations: 223.2 MB / 239 MB, free: 84 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.0009998/0.0009998, allocations: 99.41 kB / 290.2 MB, free: 4.516 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.002687/0.002687, allocations: 0.5545 MB / 341.9 MB, free: 12.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 8 kB / 403 MB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2623, allocations: 50.57 MB / 453.6 MB, free: 80.07 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08898/0.3513, allocations: 76.57 MB / 0.5177 GB, free: 3.402 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.3516, allocations: 71.95 kB / 0.5178 GB, free: 3.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006828/0.3585, allocations: 2.964 MB / 0.5207 GB, free: 360 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3585, allocations: 4 kB / 0.5207 GB, free: 356 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.3585, allocations: 4 kB / 0.5207 GB, free: 352 kB / 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.0003764/0.3589, allocations: 387.2 kB / 0.5211 GB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.359, allocations: 8.031 kB / 0.5211 GB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.299e-05/0.359, allocations: 38.56 kB / 0.5211 GB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.3591, allocations: 11.86 kB / 0.5211 GB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.3592, allocations: 178.9 kB / 0.5213 GB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.3592, allocations: 8.188 kB / 0.5213 GB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.3593, allocations: 19.91 kB / 0.5213 GB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.3595, allocations: 90.16 kB / 0.5214 GB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3595, allocations: 0 / 0.5214 GB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.3595, allocations: 7.938 kB / 0.5214 GB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.3595, allocations: 15.83 kB / 0.5214 GB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.3596, allocations: 52.53 kB / 0.5215 GB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005833/0.3602, allocations: 393.4 kB / 0.5219 GB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.3604, allocations: 94.55 kB / 0.522 GB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.3604, allocations: 0 / 0.522 GB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.3605, allocations: 34.56 kB / 0.522 GB, free: 14.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 9.42e-07/0.3605, allocations: 0 / 0.522 GB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001179/0.3617, allocations: 0.6837 MB / 0.5227 GB, free: 14.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.3617, allocations: 55.34 kB / 0.5227 GB, free: 14.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.373e-05/0.3618, allocations: 113.9 kB / 0.5228 GB, free: 13.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3619, allocations: 37.69 kB / 0.5228 GB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.3619, allocations: 92.38 kB / 0.5229 GB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.362, allocations: 51.2 kB / 0.523 GB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.362, allocations: 12 kB / 0.523 GB, free: 13.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3621, allocations: 318.8 kB / 0.5233 GB, free: 13.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-05/0.3622, allocations: 37.33 kB / 0.5233 GB, free: 13.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.191e-05/0.3623, allocations: 61.69 kB / 0.5234 GB, free: 13.28 MB / 362.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.000454/0.3627, allocations: 275.5 kB / 0.5237 GB, free: 12.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3627, allocations: 0 / 0.5237 GB, free: 12.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002034/0.363, allocations: 140.9 kB / 0.5238 GB, free: 12.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.363, allocations: 9.875 kB / 0.5238 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.363, allocations: 3.984 kB / 0.5238 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.363, allocations: 3.953 kB / 0.5238 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.3632, allocations: 35.92 kB / 0.5238 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.3632, allocations: 4.031 kB / 0.5238 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.3633, allocations: 8 kB / 0.5239 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3633, allocations: 4 kB / 0.5239 GB, free: 12.77 MB / 362.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 () * Number of clocked 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 0.0001126/0.3634, allocations: 125.8 kB / 0.524 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.3634, allocations: 11.81 kB / 0.524 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.978e-05/0.3635, allocations: 16.84 kB / 0.524 GB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3635, allocations: 0 / 0.524 GB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.3635, allocations: 3.953 kB / 0.524 GB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3635, allocations: 7.875 kB / 0.524 GB, free: 12.59 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006525/0.3642, allocations: 0.5941 MB / 0.5246 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3642, allocations: 4 kB / 0.5246 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.3643, allocations: 23.98 kB / 0.5246 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/0.3645, allocations: 24.94 kB / 0.5246 GB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.3645, allocations: 4 kB / 0.5247 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009636/0.3654, allocations: 1.28 MB / 0.5259 GB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.3655, allocations: 11.97 kB / 0.5259 GB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.3658, allocations: 343.5 kB / 0.5262 GB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.3659, allocations: 89 kB / 0.5263 GB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.3659, allocations: 4 kB / 0.5263 GB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.366, allocations: 4 kB / 0.5263 GB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.366, allocations: 19.92 kB / 0.5264 GB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.366, allocations: 8 kB / 0.5264 GB, free: 9.895 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.539e-05/0.3661, allocations: 95.7 kB / 0.5265 GB, free: 9.801 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3661, allocations: 4 kB / 0.5265 GB, free: 9.797 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002518/0.3664, allocations: 32 kB / 0.5265 GB, free: 9.766 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 () * 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.0007283/0.3671, allocations: 1.071 MB / 0.5275 GB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.3673, allocations: 91.91 kB / 0.5276 GB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3674, allocations: 0 / 0.5276 GB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.3676, allocations: 178.7 kB / 0.5278 GB, free: 8.367 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.3679, allocations: 18.48 kB / 0.5278 GB, free: 8.352 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.3692, allocations: 1.187 MB / 0.529 GB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3695, allocations: 0.7048 MB / 0.5297 GB, free: 6.367 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.187e-05/0.3696, allocations: 12.64 kB / 0.5297 GB, free: 6.355 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.3697, allocations: 35.48 kB / 0.5297 GB, free: 6.32 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3697, allocations: 0 / 0.5297 GB, free: 6.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.3854, allocations: 2.582 MB / 0.5322 GB, free: 4.004 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/0.3857, allocations: 267 kB / 0.5325 GB, free: 3.66 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.019, allocations: 3.562 kB / 0.5325 GB, free: 3.66 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)