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-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.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") [: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.00192/0.00192, allocations: 177.7 kB / 7.456 MB, free: 2.512 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.039/1.039, allocations: 221.4 MB / 229.3 MB, free: 3.066 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.000835/0.000835, allocations: 99.41 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002178/0.002178, allocations: 0.5471 MB / 331.4 MB, free: 13.88 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.428e-06/4.518e-06, allocations: 0 / 388 MB, free: 76.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06271/0.06272, allocations: 50.57 MB / 438.6 MB, free: 26.01 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.2552, allocations: 75.76 MB / 0.5023 GB, free: 4.578 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001617/0.2554, allocations: 66.41 kB / 0.5024 GB, free: 4.543 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.006253/0.2617, allocations: 2.635 MB / 0.5049 GB, free: 2.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.2617, allocations: 0 / 0.5049 GB, free: 2.5 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.0002617/0.262, allocations: 369.8 kB / 0.5053 GB, free: 2.094 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.262, allocations: 8.031 kB / 0.5053 GB, free: 2.086 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.262, allocations: 11.91 kB / 0.5053 GB, free: 2.074 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.548e-05/0.2621, allocations: 188.2 kB / 0.5055 GB, free: 1.855 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.2621, allocations: 4 kB / 0.5055 GB, free: 1.852 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.2622, allocations: 7.438 kB / 0.5055 GB, free: 1.848 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001098/0.2623, allocations: 54.2 kB / 0.5055 GB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.2624, allocations: 76.98 kB / 0.5056 GB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.2624, allocations: 3.984 kB / 0.5056 GB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2624, allocations: 0 / 0.5056 GB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.2625, allocations: 0 / 0.5056 GB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.2629, allocations: 352.2 kB / 0.506 GB, free: 1.398 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.263, allocations: 78.27 kB / 0.506 GB, free: 1.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/0.263, allocations: 27.98 kB / 0.5061 GB, free: 1.316 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.263, allocations: 4 kB / 0.5061 GB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.249e-05/0.2631, allocations: 46.33 kB / 0.5061 GB, free: 1.262 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.2631, allocations: 0 / 0.5061 GB, free: 1.262 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007511/0.2638, allocations: 0.6001 MB / 0.5067 GB, free: 0.6289 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.547e-05/0.2639, allocations: 55.41 kB / 0.5068 GB, free: 0.5625 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.522e-05/0.2639, allocations: 101 kB / 0.5068 GB, free: 472 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.2639, allocations: 26.55 kB / 0.5069 GB, free: 440 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.783e-05/0.264, allocations: 103.8 kB / 0.507 GB, free: 336 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.264, allocations: 54.83 kB / 0.507 GB, free: 288 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-06/0.264, allocations: 0 / 0.507 GB, free: 288 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.2641, allocations: 326.5 kB / 0.5073 GB, free: 15.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.641e-05/0.2641, allocations: 28.5 kB / 0.5074 GB, free: 15.94 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.243e-05/0.2642, allocations: 57.66 kB / 0.5074 GB, free: 15.89 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.0005178/0.2647, allocations: 316.4 kB / 0.5077 GB, free: 15.58 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.2647, allocations: 0 / 0.5077 GB, free: 15.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002178/0.265, allocations: 146.1 kB / 0.5079 GB, free: 15.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.679e-06/0.265, allocations: 4 kB / 0.5079 GB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.265, allocations: 0 / 0.5079 GB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001044/0.2651, allocations: 28.69 kB / 0.5079 GB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.2652, allocations: 35.8 kB / 0.5079 GB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009292/0.2661, allocations: 1.381 MB / 0.5093 GB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.2662, allocations: 4.25 kB / 0.5093 GB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.2662, allocations: 4 kB / 0.5093 GB, free: 13.95 MB / 330.7 MB Warning: Assuming redundant initial conditions for the following 2 initial equations: 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 8.429e-05/0.2663, allocations: 108.4 kB / 0.5094 GB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.2663, allocations: 15.81 kB / 0.5094 GB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.2664, allocations: 11.06 kB / 0.5094 GB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2664, allocations: 4 kB / 0.5094 GB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2664, allocations: 4.062 kB / 0.5094 GB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2664, allocations: 3.984 kB / 0.5094 GB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/0.2669, allocations: 0.5423 MB / 0.5099 GB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.267, allocations: 4.094 kB / 0.51 GB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.2671, allocations: 23.98 kB / 0.51 GB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.695e-05/0.2672, allocations: 19.92 kB / 0.51 GB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2672, allocations: 4 kB / 0.51 GB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006605/0.2678, allocations: 1.222 MB / 0.5112 GB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2679, allocations: 0 / 0.5112 GB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002731/0.2681, allocations: 321.8 kB / 0.5115 GB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.2682, allocations: 88.92 kB / 0.5116 GB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.2682, allocations: 4 kB / 0.5116 GB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.2683, allocations: 0 / 0.5116 GB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.2683, allocations: 7.984 kB / 0.5116 GB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.2683, allocations: 11.19 kB / 0.5116 GB, free: 11.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.266e-05/0.2684, allocations: 86.66 kB / 0.5117 GB, free: 11.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002771/0.2686, allocations: 24 kB / 0.5117 GB, free: 11.35 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.693e-05/0.2687, allocations: 103.2 kB / 0.5118 GB, free: 11.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003126/0.2691, allocations: 197.8 kB / 0.512 GB, free: 11.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2691, allocations: 0 / 0.512 GB, free: 11.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.2692, allocations: 160.8 kB / 0.5122 GB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.2695, allocations: 8.281 kB / 0.5122 GB, free: 10.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.2699, allocations: 297.7 kB / 0.5124 GB, free: 10.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.2701, allocations: 0.7271 MB / 0.5132 GB, free: 9.852 MB / 330.7 MB Notification: Performance of SimCode: time 3e-07/0.2701, allocations: 4 kB / 0.5132 GB, free: 9.848 MB / 330.7 MB Notification: Performance of Templates: time 0.003126/0.2733, allocations: 1.344 MB / 0.5145 GB, free: 8.566 MB / 330.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.makefile (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 & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1)