Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",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.002127/0.002127, allocations: 174.8 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.429/1.429, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0009203/0.0009203, allocations: 89.88 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.002438/0.002438, allocations: 0.5529 MB / 337 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.425e-05, allocations: 0 / 395.6 MB, free: 70.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08023/0.08029, allocations: 50.57 MB / 446.1 MB, free: 19.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3251/0.4054, allocations: 76.5 MB / 0.5104 GB, free: 11.21 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/0.4057, allocations: 64.97 kB / 0.5104 GB, free: 11.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008308/0.414, allocations: 2.966 MB / 0.5133 GB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.414, allocations: 7.5 kB / 0.5134 GB, free: 8.668 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.414, allocations: 4 kB / 0.5134 GB, free: 8.664 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.0003921/0.4144, allocations: 367 kB / 0.5137 GB, free: 8.262 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.4145, allocations: 8.031 kB / 0.5137 GB, free: 8.254 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.793e-05/0.4145, allocations: 41.56 kB / 0.5138 GB, free: 8.211 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.4146, allocations: 15.86 kB / 0.5138 GB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.4147, allocations: 182.8 kB / 0.5139 GB, free: 7.977 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.4148, allocations: 11.69 kB / 0.514 GB, free: 7.969 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.4148, allocations: 7.688 kB / 0.514 GB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.415, allocations: 90.73 kB / 0.514 GB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.415, allocations: 0 / 0.514 GB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.415, allocations: 1.688 kB / 0.514 GB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.415, allocations: 7.953 kB / 0.5141 GB, free: 7.887 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.4152, allocations: 57.48 kB / 0.5141 GB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.4157, allocations: 383.9 kB / 0.5145 GB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.4159, allocations: 99.31 kB / 0.5146 GB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.416, allocations: 31.3 kB / 0.5146 GB, free: 7.363 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.416, allocations: 4 kB / 0.5146 GB, free: 7.359 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.416, allocations: 37.66 kB / 0.5146 GB, free: 7.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.416, allocations: 4 kB / 0.5146 GB, free: 7.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001022/0.417, allocations: 0.6534 MB / 0.5153 GB, free: 6.652 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.4171, allocations: 55.34 kB / 0.5153 GB, free: 6.586 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.939e-05/0.4172, allocations: 113.3 kB / 0.5154 GB, free: 6.477 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.4172, allocations: 25.7 kB / 0.5155 GB, free: 6.445 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.4173, allocations: 111 kB / 0.5156 GB, free: 6.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.4173, allocations: 56.64 kB / 0.5156 GB, free: 6.289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-06/0.4173, allocations: 0 / 0.5156 GB, free: 6.289 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4175, allocations: 325.1 kB / 0.5159 GB, free: 5.969 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.461e-05/0.4175, allocations: 30.25 kB / 0.516 GB, free: 5.949 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-05/0.4176, allocations: 61.56 kB / 0.516 GB, free: 5.898 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.s = $START.mass1.s ($START.mass2.s + (-0.5) * (mass2.L + mass1.L) = $START.mass1.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006011/0.4182, allocations: 309.4 kB / 0.5163 GB, free: 5.594 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.4182, allocations: 0 / 0.5163 GB, free: 5.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002647/0.4185, allocations: 176.8 kB / 0.5165 GB, free: 5.445 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.4185, allocations: 8 kB / 0.5165 GB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4186, allocations: 0 / 0.5165 GB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/0.4187, allocations: 28.28 kB / 0.5165 GB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.4188, allocations: 27.92 kB / 0.5166 GB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.4199, allocations: 1.435 MB / 0.518 GB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/0.42, allocations: 7.781 kB / 0.518 GB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.42, allocations: 7.953 kB / 0.518 GB, free: 3.891 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.s = $START.mass1.s. 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.684e-05/0.4201, allocations: 111.4 kB / 0.5181 GB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.4202, allocations: 11.97 kB / 0.5181 GB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.4202, allocations: 15.48 kB / 0.5181 GB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4202, allocations: 8.078 kB / 0.5181 GB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4202, allocations: 0 / 0.5181 GB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4202, allocations: 3.984 kB / 0.5181 GB, free: 3.742 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006252/0.4209, allocations: 0.5935 MB / 0.5187 GB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4209, allocations: 0 / 0.5187 GB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.421, allocations: 27.94 kB / 0.5187 GB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.734e-05/0.4211, allocations: 24.61 kB / 0.5187 GB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.4211, allocations: 0 / 0.5187 GB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009412/0.422, allocations: 1.273 MB / 0.52 GB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.4221, allocations: 7.969 kB / 0.52 GB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/0.4225, allocations: 333 kB / 0.5203 GB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.4225, allocations: 84.45 kB / 0.5204 GB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.4225, allocations: 4 kB / 0.5204 GB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/0.4226, allocations: 3.312 kB / 0.5204 GB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.4227, allocations: 27.88 kB / 0.5204 GB, free: 1.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/0.4227, allocations: 7.5 kB / 0.5204 GB, free: 1.246 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.738e-05/0.4228, allocations: 96.27 kB / 0.5205 GB, free: 1.156 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4228, allocations: 0 / 0.5205 GB, free: 1.156 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000312/0.4231, allocations: 29.56 kB / 0.5205 GB, free: 1.133 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.0007147/0.4238, allocations: 1.072 MB / 0.5216 GB, free: 68 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003998/0.4242, allocations: 220.5 kB / 0.5218 GB, free: 15.87 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4242, allocations: 0 / 0.5218 GB, free: 15.87 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.4244, allocations: 178.4 kB / 0.522 GB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.4247, allocations: 10.94 kB / 0.522 GB, free: 15.69 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006543/0.4253, allocations: 336.4 kB / 0.5223 GB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.4257, allocations: 0.7126 MB / 0.523 GB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.236e-05/0.4257, allocations: 8.766 kB / 0.523 GB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.4258, allocations: 32.12 kB / 0.523 GB, free: 14.58 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4258, allocations: 0 / 0.523 GB, free: 14.58 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.4413, allocations: 2.652 MB / 0.5256 GB, free: 12.19 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002935/0.4417, allocations: 240.6 kB / 0.5259 GB, free: 11.88 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.031, allocations: 0 / 0.5259 GB, free: 11.88 MB / 346.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1)