Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) [: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.01024/0.01024, allocations: 185 kB / 7.463 MB, free: 2.25 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.437/2.437, allocations: 221.4 MB / 229.3 MB, free: 2.984 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.001872/0.001871, allocations: 109.6 kB / 280.1 MB, free: 1.211 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.00697/0.00697, allocations: 0.5529 MB / 331.4 MB, free: 13.86 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5008/0.5079, allocations: 56.68 MB / 388.1 MB, free: 76.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.7292, allocations: 50.57 MB / 438.7 MB, free: 25.91 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7338/1.463, allocations: 74.47 MB / 0.5011 GB, free: 5.414 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004488/1.464, allocations: 58.41 kB / 0.5012 GB, free: 5.383 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003038/1.467, allocations: 0.6735 MB / 0.5019 GB, free: 4.766 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.547e-05/1.467, allocations: 8.5 kB / 0.5019 GB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/1.467, allocations: 8.531 kB / 0.5019 GB, free: 4.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/1.467, allocations: 163 kB / 0.502 GB, free: 4.551 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/1.467, allocations: 0.875 kB / 0.502 GB, free: 4.551 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/1.467, allocations: 4 kB / 0.502 GB, free: 4.547 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001194/1.467, allocations: 19.16 kB / 0.502 GB, free: 4.531 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/1.467, allocations: 41.25 kB / 0.5021 GB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/1.468, allocations: 3.938 kB / 0.5021 GB, free: 4.484 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/1.468, allocations: 0 / 0.5021 GB, free: 4.484 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.468, allocations: 0 / 0.5021 GB, free: 4.484 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/1.468, allocations: 232.3 kB / 0.5023 GB, free: 4.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.445e-05/1.468, allocations: 35.86 kB / 0.5023 GB, free: 4.195 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.637e-05/1.468, allocations: 19.86 kB / 0.5024 GB, free: 4.176 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/1.468, allocations: 0 / 0.5024 GB, free: 4.176 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/1.468, allocations: 38.67 kB / 0.5024 GB, free: 4.133 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/1.468, allocations: 0 / 0.5024 GB, free: 4.133 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008898/1.469, allocations: 473.7 kB / 0.5029 GB, free: 3.602 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/1.469, allocations: 55.41 kB / 0.5029 GB, free: 3.535 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.113e-05/1.469, allocations: 92.8 kB / 0.503 GB, free: 3.441 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/1.469, allocations: 29.7 kB / 0.503 GB, free: 3.406 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/1.469, allocations: 80.14 kB / 0.5031 GB, free: 3.324 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/1.469, allocations: 26.81 kB / 0.5031 GB, free: 3.301 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/1.469, allocations: 0 / 0.5031 GB, free: 3.301 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/1.469, allocations: 318.8 kB / 0.5034 GB, free: 2.984 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.694e-05/1.47, allocations: 15.94 kB / 0.5034 GB, free: 2.973 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.646e-05/1.47, allocations: 25.47 kB / 0.5035 GB, free: 2.945 MB / 314.7 MB Notification: The following equation is consistent and got removed from the initialization problem: $DER.v1 = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.x1 = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/1.47, allocations: 202.2 kB / 0.5037 GB, free: 2.723 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/1.47, allocations: 0 / 0.5037 GB, free: 2.723 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001471/1.47, allocations: 73.12 kB / 0.5037 GB, free: 2.652 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/1.47, allocations: 4 kB / 0.5037 GB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.47, allocations: 400 / 0.5037 GB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.47, allocations: 0 / 0.5037 GB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/1.47, allocations: 30.23 kB / 0.5038 GB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/1.47, allocations: 4 kB / 0.5038 GB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/1.471, allocations: 0 / 0.5038 GB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/1.471, allocations: 3.188 kB / 0.5038 GB, free: 2.617 MB / 314.7 MB Warning: Assuming redundant initial conditions for the following 2 initial equations: $DER.v1 = 0.0 $DER.x1 = 0.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001052/1.471, allocations: 116.9 kB / 0.5039 GB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/1.471, allocations: 3.938 kB / 0.5039 GB, free: 2.492 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.238e-05/1.471, allocations: 10.69 kB / 0.5039 GB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/1.471, allocations: 3.906 kB / 0.5039 GB, free: 2.473 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/1.471, allocations: 4 kB / 0.5039 GB, free: 2.469 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/1.471, allocations: 0 / 0.5039 GB, free: 2.469 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/1.471, allocations: 335.2 kB / 0.5042 GB, free: 2.105 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.471, allocations: 0 / 0.5042 GB, free: 2.105 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.582e-05/1.472, allocations: 8 kB / 0.5042 GB, free: 2.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001685/1.472, allocations: 28.88 kB / 0.5043 GB, free: 2.066 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/1.472, allocations: 0 / 0.5043 GB, free: 2.066 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/1.473, allocations: 1.232 MB / 0.5055 GB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.473, allocations: 0 / 0.5055 GB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003214/1.473, allocations: 255.1 kB / 0.5057 GB, free: 496 kB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005185/1.474, allocations: 0.6324 MB / 0.5063 GB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.516e-05/1.474, allocations: 81.02 kB / 0.5064 GB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/1.474, allocations: 4.625 kB / 0.5064 GB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-05/1.474, allocations: 0 / 0.5064 GB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/1.474, allocations: 7.938 kB / 0.5064 GB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/1.474, allocations: 10.92 kB / 0.5064 GB, free: 15.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.923e-05/1.474, allocations: 75.28 kB / 0.5065 GB, free: 15.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00136/1.476, allocations: 16.06 kB / 0.5065 GB, free: 15.62 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002611/1.476, allocations: 99.19 kB / 0.5066 GB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002009/1.476, allocations: 37.62 kB / 0.5066 GB, free: 15.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.476, allocations: 0 / 0.5066 GB, free: 15.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003602/1.476, allocations: 124.7 kB / 0.5068 GB, free: 15.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/1.477, allocations: 12.08 kB / 0.5068 GB, free: 15.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/1.477, allocations: 130.1 kB / 0.5069 GB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005331/1.478, allocations: 0.7032 MB / 0.5076 GB, free: 14.47 MB / 330.7 MB Notification: Performance of SimCode: time 3.41e-07/1.478, allocations: 0 / 0.5076 GB, free: 14.47 MB / 330.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1)