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-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 179.1 kB / 7.463 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.015/1.015, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.0008399/0.0008399, allocations: 93.44 kB / 280.1 MB, free: 1.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002093/0.002094, allocations: 0.5507 MB / 331.4 MB, free: 13.94 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.629e-06/4.649e-06, allocations: 0 / 388 MB, free: 76.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06592/0.06593, allocations: 50.56 MB / 438.6 MB, free: 26 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1967/0.2626, allocations: 75.78 MB / 0.5023 GB, free: 4.504 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001445/0.2628, allocations: 61.34 kB / 0.5024 GB, free: 4.473 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.006069/0.2689, allocations: 2.639 MB / 0.505 GB, free: 2.434 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.2689, allocations: 0 / 0.505 GB, free: 2.434 MB / 314.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.0002603/0.2692, allocations: 377.7 kB / 0.5053 GB, free: 2.023 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.2692, allocations: 10.66 kB / 0.5053 GB, free: 2.016 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.2693, allocations: 11.84 kB / 0.5053 GB, free: 2.004 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.593e-05/0.2693, allocations: 174.9 kB / 0.5055 GB, free: 1.793 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.2694, allocations: 4 kB / 0.5055 GB, free: 1.789 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.2694, allocations: 8 kB / 0.5055 GB, free: 1.781 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001096/0.2695, allocations: 53.95 kB / 0.5056 GB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.2696, allocations: 82.3 kB / 0.5056 GB, free: 1.676 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.2696, allocations: 4.875 kB / 0.5057 GB, free: 1.672 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2697, allocations: 0 / 0.5057 GB, free: 1.672 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2697, allocations: 4 kB / 0.5057 GB, free: 1.668 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.27, allocations: 347.2 kB / 0.506 GB, free: 1.332 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.939e-05/0.2701, allocations: 79.2 kB / 0.5061 GB, free: 1.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.2702, allocations: 31.3 kB / 0.5061 GB, free: 1.246 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.2702, allocations: 4.219 kB / 0.5061 GB, free: 1.242 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.2702, allocations: 38.12 kB / 0.5061 GB, free: 1.199 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.2702, allocations: 3.984 kB / 0.5061 GB, free: 1.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006915/0.2709, allocations: 0.6006 MB / 0.5067 GB, free: 0.5625 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.621e-05/0.271, allocations: 58.84 kB / 0.5068 GB, free: 0.4961 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.391e-05/0.271, allocations: 101.7 kB / 0.5069 GB, free: 404 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.966e-06/0.271, allocations: 33.64 kB / 0.5069 GB, free: 364 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.09e-05/0.2711, allocations: 95.77 kB / 0.507 GB, free: 268 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.2711, allocations: 57.62 kB / 0.5071 GB, free: 216 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.2711, allocations: 0 / 0.5071 GB, free: 216 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.245e-05/0.2712, allocations: 326.4 kB / 0.5074 GB, free: 15.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.447e-05/0.2712, allocations: 26.5 kB / 0.5074 GB, free: 15.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.2713, allocations: 64.14 kB / 0.5075 GB, free: 15.82 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.0003703/0.2717, allocations: 274.4 kB / 0.5077 GB, free: 15.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2717, allocations: 0 / 0.5077 GB, free: 15.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001586/0.2718, allocations: 120.8 kB / 0.5078 GB, free: 15.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.2718, allocations: 8.781 kB / 0.5078 GB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2719, allocations: 0 / 0.5078 GB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2719, allocations: 7.922 kB / 0.5078 GB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.272, allocations: 35.98 kB / 0.5079 GB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2721, allocations: 7.969 kB / 0.5079 GB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.144e-05/0.2721, allocations: 0 / 0.5079 GB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.2721, allocations: 4 kB / 0.5079 GB, free: 15.38 MB / 330.7 MB Warning: Assuming redundant initial conditions for the following 2 initial equations: 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 6.668e-05/0.2722, allocations: 112.9 kB / 0.508 GB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.2722, allocations: 11.47 kB / 0.508 GB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.735e-05/0.2723, allocations: 14.56 kB / 0.508 GB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2723, allocations: 0 / 0.508 GB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2723, allocations: 0 / 0.508 GB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2723, allocations: 0 / 0.508 GB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.2728, allocations: 0.5491 MB / 0.5086 GB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2728, allocations: 0 / 0.5086 GB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.2729, allocations: 35.83 kB / 0.5086 GB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001035/0.273, allocations: 24.25 kB / 0.5086 GB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.2731, allocations: 0 / 0.5086 GB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007143/0.2738, allocations: 1.22 MB / 0.5098 GB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2738, allocations: 3.984 kB / 0.5098 GB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002748/0.2741, allocations: 328.1 kB / 0.5101 GB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.2741, allocations: 85.02 kB / 0.5102 GB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.2741, allocations: 3.984 kB / 0.5102 GB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.681e-05/0.2742, allocations: 4 kB / 0.5102 GB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.2742, allocations: 4 kB / 0.5102 GB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.2742, allocations: 4 kB / 0.5102 GB, free: 12.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.3e-05/0.2743, allocations: 89.89 kB / 0.5103 GB, free: 12.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002316/0.2745, allocations: 28.28 kB / 0.5103 GB, free: 12.76 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 9.331e-05/0.2746, allocations: 103.3 kB / 0.5104 GB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.2748, allocations: 85.48 kB / 0.5105 GB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2748, allocations: 3.938 kB / 0.5105 GB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.275, allocations: 156.7 kB / 0.5107 GB, free: 12.44 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.2752, allocations: 15.89 kB / 0.5107 GB, free: 12.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.2756, allocations: 284.1 kB / 0.511 GB, free: 12.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.2759, allocations: 0.7196 MB / 0.5117 GB, free: 11.39 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2759, allocations: 4 kB / 0.5117 GB, free: 11.38 MB / 330.7 MB Notification: Performance of Templates: time 0.002884/0.2788, allocations: 1.215 MB / 0.5128 GB, free: 10.23 MB / 330.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile (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 & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1)