Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",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.001358/0.001358, allocations: 174.6 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.471/1.471, 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.0008622/0.0008623, allocations: 89.67 kB / 285.6 MB, free: 12.99 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.002956/0.002956, allocations: 0.5607 MB / 337 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.007e-05/3.009e-05, allocations: 0 / 395.6 MB, free: 70.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 50.57 MB / 446.1 MB, free: 19.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4462/0.5547, allocations: 76.45 MB / 0.5103 GB, free: 11.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001601/0.5549, allocations: 64.47 kB / 0.5104 GB, free: 11.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006017/0.5609, allocations: 2.449 MB / 0.5128 GB, free: 9.145 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.367e-06/0.5609, allocations: 0 / 0.5128 GB, free: 9.145 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.561, allocations: 2.953 kB / 0.5128 GB, free: 9.145 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.0004574/0.5614, allocations: 378.6 kB / 0.5132 GB, free: 8.734 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.5615, allocations: 12.03 kB / 0.5132 GB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.456e-05/0.5615, allocations: 39.88 kB / 0.5132 GB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.5616, allocations: 11.86 kB / 0.5132 GB, free: 8.668 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.5618, allocations: 174.9 kB / 0.5134 GB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.5618, allocations: 8 kB / 0.5134 GB, free: 8.453 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.5618, allocations: 11.62 kB / 0.5134 GB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.562, allocations: 90.5 kB / 0.5135 GB, free: 8.375 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.562, allocations: 3.984 kB / 0.5135 GB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.5621, allocations: 3.5 kB / 0.5135 GB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.5621, allocations: 7.953 kB / 0.5135 GB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.5622, allocations: 54.05 kB / 0.5136 GB, free: 8.324 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006182/0.5628, allocations: 394.6 kB / 0.5139 GB, free: 7.938 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.563, allocations: 97 kB / 0.514 GB, free: 7.859 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.445e-05/0.5631, allocations: 42.88 kB / 0.5141 GB, free: 7.828 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.5631, allocations: 4 kB / 0.5141 GB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.5632, allocations: 34.5 kB / 0.5141 GB, free: 7.781 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.5632, allocations: 3.938 kB / 0.5141 GB, free: 7.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001077/0.5642, allocations: 0.6516 MB / 0.5148 GB, free: 7.113 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.5643, allocations: 51.41 kB / 0.5148 GB, free: 7.051 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.149e-05/0.5644, allocations: 113.6 kB / 0.5149 GB, free: 6.941 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.5644, allocations: 29.61 kB / 0.5149 GB, free: 6.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.5645, allocations: 99.55 kB / 0.515 GB, free: 6.809 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.5646, allocations: 58.58 kB / 0.5151 GB, free: 6.758 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.5646, allocations: 3.875 kB / 0.5151 GB, free: 6.758 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5647, allocations: 318 kB / 0.5154 GB, free: 6.441 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.129e-05/0.5648, allocations: 31.81 kB / 0.5154 GB, free: 6.422 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.053e-05/0.5649, allocations: 57.56 kB / 0.5155 GB, free: 6.371 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.94e-05/0.565, allocations: 37.23 kB / 0.5155 GB, free: 6.348 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.565, allocations: 0 / 0.5155 GB, free: 6.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001933/0.5652, allocations: 142.2 kB / 0.5157 GB, free: 6.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.5652, allocations: 9.516 kB / 0.5157 GB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.5652, allocations: 4 kB / 0.5157 GB, free: 6.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.5652, allocations: 0 / 0.5157 GB, free: 6.219 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.5654, allocations: 39.95 kB / 0.5157 GB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.5654, allocations: 7.984 kB / 0.5157 GB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.431e-05/0.5655, allocations: 3 kB / 0.5157 GB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.5655, allocations: 11.42 kB / 0.5157 GB, free: 6.164 MB / 330.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 () * 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 7.652e-05/0.5656, allocations: 112.2 kB / 0.5158 GB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.5656, allocations: 7.906 kB / 0.5158 GB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.5657, allocations: 19.08 kB / 0.5159 GB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5657, allocations: 4 kB / 0.5159 GB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5657, allocations: 4 kB / 0.5159 GB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5657, allocations: 0 / 0.5159 GB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005887/0.5663, allocations: 0.4884 MB / 0.5163 GB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.5663, allocations: 0 / 0.5163 GB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.5664, allocations: 36.08 kB / 0.5164 GB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001087/0.5666, allocations: 16.8 kB / 0.5164 GB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.5666, allocations: 7.984 kB / 0.5164 GB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.5676, allocations: 1.272 MB / 0.5176 GB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5676, allocations: 4.031 kB / 0.5176 GB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.5681, allocations: 330.6 kB / 0.518 GB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.5681, allocations: 88.98 kB / 0.518 GB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.5682, allocations: 11.86 kB / 0.5181 GB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.5682, allocations: 0 / 0.5181 GB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.5683, allocations: 15.73 kB / 0.5181 GB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.5683, allocations: 4 kB / 0.5181 GB, free: 3.664 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.571e-05/0.5684, allocations: 102 kB / 0.5182 GB, free: 3.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5684, allocations: 7.938 kB / 0.5182 GB, free: 3.562 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.5687, allocations: 27.12 kB / 0.5182 GB, free: 3.539 MB / 330.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 () * 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.0007585/0.5694, allocations: 1.07 MB / 0.5192 GB, free: 2.473 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.5696, allocations: 90.86 kB / 0.5193 GB, free: 2.406 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5696, allocations: 0 / 0.5193 GB, free: 2.406 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.5699, allocations: 179.2 kB / 0.5195 GB, free: 2.234 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.5701, allocations: 17.86 kB / 0.5195 GB, free: 2.223 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000612/0.5707, allocations: 332.4 kB / 0.5198 GB, free: 1.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.571, allocations: 0.7048 MB / 0.5205 GB, free: 1.145 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.685e-05/0.5711, allocations: 12.77 kB / 0.5205 GB, free: 1.129 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.5711, allocations: 35.98 kB / 0.5206 GB, free: 1.113 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5711, allocations: 0 / 0.5206 GB, free: 1.113 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.5905, allocations: 2.513 MB / 0.523 GB, free: 14.86 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.5908, allocations: 241.8 kB / 0.5233 GB, free: 14.58 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/2.093, allocations: 0 / 0.5233 GB, free: 14.58 MB / 346.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)