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.005935/0.005935, allocations: 172.4 kB / 15.12 MB, free: 5.973 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.435/1.435, allocations: 223.2 MB / 239 MB, free: 1.785 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.0009163/0.0009163, allocations: 94.33 kB / 290.2 MB, free: 13.93 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.003153/0.003152, allocations: 0.5508 MB / 341.9 MB, free: 10.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003635, allocations: 13.72 kB / 403 MB, free: 98.28 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1081, allocations: 50.57 MB / 453.6 MB, free: 59.1 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.2368, allocations: 76.53 MB / 0.5177 GB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.2371, allocations: 59.97 kB / 0.5178 GB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008655/0.2458, allocations: 2.44 MB / 0.5201 GB, free: 11.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.73e-06/0.2459, allocations: 4 kB / 0.5201 GB, free: 11.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.2459, allocations: 7.938 kB / 0.5201 GB, free: 11.94 MB / 362.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.0005278/0.2464, allocations: 383.3 kB / 0.5205 GB, free: 11.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.2465, allocations: 8.031 kB / 0.5205 GB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/0.2466, allocations: 42.55 kB / 0.5206 GB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.2466, allocations: 11.86 kB / 0.5206 GB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.2468, allocations: 171 kB / 0.5207 GB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.2468, allocations: 12.19 kB / 0.5207 GB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.2469, allocations: 11.91 kB / 0.5208 GB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.2471, allocations: 91.16 kB / 0.5208 GB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.2471, allocations: 0 / 0.5208 GB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.2472, allocations: 4 kB / 0.5208 GB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.2472, allocations: 15.89 kB / 0.5209 GB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.2474, allocations: 56.52 kB / 0.5209 GB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000722/0.2481, allocations: 385.4 kB / 0.5213 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.2483, allocations: 98.55 kB / 0.5214 GB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.2484, allocations: 7.984 kB / 0.5214 GB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.2484, allocations: 30.56 kB / 0.5214 GB, free: 10.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.853e-06/0.2484, allocations: 0 / 0.5214 GB, free: 10.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001463/0.2499, allocations: 0.6882 MB / 0.5221 GB, free: 9.688 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.2499, allocations: 51.41 kB / 0.5221 GB, free: 9.625 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.2501, allocations: 115.3 kB / 0.5222 GB, free: 9.508 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.2501, allocations: 29.7 kB / 0.5223 GB, free: 9.473 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.2502, allocations: 92.38 kB / 0.5224 GB, free: 9.375 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/0.2503, allocations: 63.17 kB / 0.5224 GB, free: 9.312 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-06/0.2503, allocations: 4 kB / 0.5224 GB, free: 9.309 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2504, allocations: 322.8 kB / 0.5227 GB, free: 8.984 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.2505, allocations: 28 kB / 0.5228 GB, free: 8.957 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.2506, allocations: 54.55 kB / 0.5228 GB, free: 8.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.2508, allocations: 48 kB / 0.5229 GB, free: 8.848 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2508, allocations: 0 / 0.5229 GB, free: 8.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000307/0.2511, allocations: 145.4 kB / 0.523 GB, free: 8.699 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.2511, allocations: 7.953 kB / 0.523 GB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.2512, allocations: 0 / 0.523 GB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2512, allocations: 4 kB / 0.523 GB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.2514, allocations: 35.92 kB / 0.523 GB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.2515, allocations: 0 / 0.523 GB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.446e-05/0.2515, allocations: 8 kB / 0.5231 GB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.2516, allocations: 4 kB / 0.5231 GB, free: 8.641 MB / 362.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 () * 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.0001602/0.2517, allocations: 133.8 kB / 0.5232 GB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.2518, allocations: 11.81 kB / 0.5232 GB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.28e-05/0.2519, allocations: 20.8 kB / 0.5232 GB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2519, allocations: 0 / 0.5232 GB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/0.2519, allocations: 4 kB / 0.5232 GB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.2519, allocations: 3.938 kB / 0.5232 GB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008596/0.2528, allocations: 497.7 kB / 0.5237 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2528, allocations: 0 / 0.5237 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.253, allocations: 23.98 kB / 0.5237 GB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001367/0.2531, allocations: 20.84 kB / 0.5237 GB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.2532, allocations: 8 kB / 0.5237 GB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.2544, allocations: 1.284 MB / 0.525 GB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2544, allocations: 3.938 kB / 0.525 GB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.2549, allocations: 341.6 kB / 0.5253 GB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.255, allocations: 89 kB / 0.5254 GB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.255, allocations: 4 kB / 0.5254 GB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.2551, allocations: 8.047 kB / 0.5254 GB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.2552, allocations: 19.92 kB / 0.5254 GB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.2552, allocations: 4 kB / 0.5254 GB, free: 5.906 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.391e-05/0.2553, allocations: 95.64 kB / 0.5255 GB, free: 5.812 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2553, allocations: 0 / 0.5255 GB, free: 5.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004529/0.2558, allocations: 36 kB / 0.5256 GB, free: 5.777 MB / 362.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 () * 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.0009337/0.2567, allocations: 1.077 MB / 0.5266 GB, free: 4.656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.2569, allocations: 95.91 kB / 0.5267 GB, free: 4.562 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.257, allocations: 0 / 0.5267 GB, free: 4.562 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.2573, allocations: 166.6 kB / 0.5269 GB, free: 4.387 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.2576, allocations: 29.25 kB / 0.5269 GB, free: 4.359 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.2594, allocations: 1.165 MB / 0.528 GB, free: 3.125 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.2597, allocations: 0.7165 MB / 0.5287 GB, free: 2.383 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.081e-05/0.2598, allocations: 8.641 kB / 0.5288 GB, free: 2.375 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.2599, allocations: 35.44 kB / 0.5288 GB, free: 2.34 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2599, allocations: 0 / 0.5288 GB, free: 2.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.2748, allocations: 2.531 MB / 0.5313 GB, free: 76 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2203/0.4952, allocations: 262.5 kB / 0.5315 GB, free: 88.29 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.158, allocations: 0.625 kB / 0.5315 GB, free: 88.29 MB / 362.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)