Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",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.006374/0.006374, allocations: 184.8 kB / 7.463 MB, free: 2.5 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.042/2.042, allocations: 221.4 MB / 229.3 MB, free: 3.078 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.001605/0.001604, allocations: 97.16 kB / 280.1 MB, free: 1.305 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.003674/0.003673, allocations: 0.5549 MB / 331.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3761/0.3799, allocations: 56.69 MB / 388.1 MB, free: 76.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.5408, allocations: 50.56 MB / 438.7 MB, free: 25.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5589/1.1, allocations: 74.34 MB / 0.501 GB, free: 5.625 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/1.1, allocations: 61.03 kB / 0.5011 GB, free: 5.594 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.001818/1.102, allocations: 0.5912 MB / 0.5017 GB, free: 5.035 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/1.102, allocations: 8 kB / 0.5017 GB, free: 5.027 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/1.102, allocations: 3.906 kB / 0.5017 GB, free: 5.023 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/1.102, allocations: 163.3 kB / 0.5018 GB, free: 4.824 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/1.102, allocations: 0 / 0.5018 GB, free: 4.824 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/1.102, allocations: 7.938 kB / 0.5018 GB, free: 4.816 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.777e-05/1.102, allocations: 18.7 kB / 0.5018 GB, free: 4.801 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.58e-05/1.103, allocations: 42.19 kB / 0.5019 GB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/1.103, allocations: 0 / 0.5019 GB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/1.103, allocations: 0 / 0.5019 GB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.103, allocations: 4 kB / 0.5019 GB, free: 4.754 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/1.103, allocations: 220.4 kB / 0.5021 GB, free: 4.508 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.855e-05/1.103, allocations: 40.59 kB / 0.5021 GB, free: 4.469 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.267e-05/1.103, allocations: 19.55 kB / 0.5022 GB, free: 4.453 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/1.103, allocations: 4 kB / 0.5022 GB, free: 4.449 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/1.103, allocations: 34.56 kB / 0.5022 GB, free: 4.406 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/1.103, allocations: 0 / 0.5022 GB, free: 4.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007648/1.104, allocations: 475.1 kB / 0.5027 GB, free: 3.879 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/1.104, allocations: 55.39 kB / 0.5027 GB, free: 3.812 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.615e-05/1.104, allocations: 96.5 kB / 0.5028 GB, free: 3.715 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/1.104, allocations: 29.7 kB / 0.5028 GB, free: 3.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/1.104, allocations: 83.02 kB / 0.5029 GB, free: 3.598 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/1.104, allocations: 30.73 kB / 0.5029 GB, free: 3.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/1.104, allocations: 0 / 0.5029 GB, free: 3.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.391e-05/1.104, allocations: 318.1 kB / 0.5032 GB, free: 3.254 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.822e-05/1.104, allocations: 11.38 kB / 0.5032 GB, free: 3.246 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.627e-05/1.104, allocations: 28.03 kB / 0.5033 GB, free: 3.219 MB / 314.7 MB Notification: The following equation is consistent and got removed from the initialization problem: x1 = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: v1 = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/1.105, allocations: 198.7 kB / 0.5035 GB, free: 2.996 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/1.105, allocations: 0 / 0.5035 GB, free: 2.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001883/1.105, allocations: 87.44 kB / 0.5035 GB, free: 2.914 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/1.105, allocations: 4 kB / 0.5036 GB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.105, allocations: 4.562 kB / 0.5036 GB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/1.105, allocations: 20.09 kB / 0.5036 GB, free: 2.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/1.105, allocations: 19.78 kB / 0.5036 GB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/1.106, allocations: 1.226 MB / 0.5048 GB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.539e-05/1.106, allocations: 2.25 kB / 0.5048 GB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/1.106, allocations: 4.391 kB / 0.5048 GB, free: 1.551 MB / 314.7 MB Warning: Assuming redundant initial conditions for the following 2 initial equations: x1 = 0.0 v1 = 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 (8): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 9.388e-05/1.106, allocations: 113 kB / 0.5049 GB, free: 1.434 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/1.106, allocations: 8.031 kB / 0.5049 GB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.218e-05/1.107, allocations: 7.75 kB / 0.5049 GB, free: 1.422 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/1.107, allocations: 0 / 0.5049 GB, free: 1.422 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.107, allocations: 3.906 kB / 0.5049 GB, free: 1.418 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.107, allocations: 384 / 0.5049 GB, free: 1.418 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/1.107, allocations: 338.5 kB / 0.5052 GB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.107, allocations: 0 / 0.5052 GB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/1.107, allocations: 11.98 kB / 0.5053 GB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-05/1.107, allocations: 24.83 kB / 0.5053 GB, free: 1.012 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/1.107, allocations: 3.375 kB / 0.5053 GB, free: 1.012 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009218/1.108, allocations: 1.222 MB / 0.5065 GB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.108, allocations: 4.047 kB / 0.5065 GB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003645/1.108, allocations: 257.3 kB / 0.5067 GB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006885/1.109, allocations: 0.6318 MB / 0.5073 GB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/1.109, allocations: 88.52 kB / 0.5074 GB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/1.109, allocations: 4.062 kB / 0.5074 GB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/1.109, allocations: 0 / 0.5074 GB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/1.109, allocations: 7.984 kB / 0.5074 GB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/1.109, allocations: 4 kB / 0.5074 GB, free: 14.65 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.262e-05/1.109, allocations: 75.28 kB / 0.5075 GB, free: 14.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009513/1.11, allocations: 12 kB / 0.5075 GB, free: 14.57 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.0002096/1.111, allocations: 99.17 kB / 0.5076 GB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004163/1.111, allocations: 146.8 kB / 0.5078 GB, free: 14.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.111, allocations: 0 / 0.5078 GB, free: 14.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/1.111, allocations: 128.8 kB / 0.5079 GB, free: 14.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/1.111, allocations: 11.53 kB / 0.5079 GB, free: 14.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/1.112, allocations: 137.9 kB / 0.508 GB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004811/1.112, allocations: 0.6989 MB / 0.5087 GB, free: 13.3 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/1.112, allocations: 4 kB / 0.5087 GB, free: 13.29 MB / 330.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1)