Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",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.001615/0.001615, allocations: 172.5 kB / 7.647 MB, free: 1.422 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.606/1.606, allocations: 221.5 MB / 229.6 MB, free: 3.199 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.0008727/0.0008727, allocations: 97.7 kB / 280.5 MB, free: 1.152 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.002946/0.002946, allocations: 0.5677 MB / 331.8 MB, free: 13.79 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.591e-05, allocations: 4 kB / 388.7 MB, free: 75.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 50.57 MB / 439.3 MB, free: 25.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4826/0.5974, allocations: 74.4 MB / 0.5016 GB, free: 5.457 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.5977, allocations: 69.33 kB / 0.5017 GB, free: 5.418 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001534/0.5993, allocations: 0.5638 MB / 0.5022 GB, free: 4.918 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5993, allocations: 2.875 kB / 0.5022 GB, free: 4.918 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.5993, allocations: 4 kB / 0.5022 GB, free: 4.914 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.0003121/0.5996, allocations: 326.2 kB / 0.5025 GB, free: 4.559 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/0.5997, allocations: 8.219 kB / 0.5026 GB, free: 4.551 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.5998, allocations: 14.52 kB / 0.5026 GB, free: 4.539 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.6, allocations: 167 kB / 0.5027 GB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.6, allocations: 4 kB / 0.5027 GB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.6001, allocations: 4 kB / 0.5027 GB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001014/0.6002, allocations: 17.08 kB / 0.5028 GB, free: 4.316 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.479e-05/0.6003, allocations: 41.09 kB / 0.5028 GB, free: 4.277 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.6003, allocations: 0 / 0.5028 GB, free: 4.277 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.6003, allocations: 7.938 kB / 0.5028 GB, free: 4.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.6003, allocations: 0 / 0.5028 GB, free: 4.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.6008, allocations: 266.8 kB / 0.5031 GB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.669e-05/0.6009, allocations: 37.69 kB / 0.5031 GB, free: 3.934 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.6009, allocations: 12.8 kB / 0.5031 GB, free: 3.922 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.601, allocations: 4 kB / 0.5031 GB, free: 3.918 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.601, allocations: 30.56 kB / 0.5031 GB, free: 3.879 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.601, allocations: 0 / 0.5031 GB, free: 3.879 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003154/0.6013, allocations: 69.12 kB / 0.5032 GB, free: 3.809 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.6014, allocations: 55.41 kB / 0.5033 GB, free: 3.742 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.717e-05/0.6014, allocations: 92.98 kB / 0.5033 GB, free: 3.645 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.6015, allocations: 29.64 kB / 0.5034 GB, free: 3.609 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.6015, allocations: 87.33 kB / 0.5035 GB, free: 3.523 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.6015, allocations: 11.81 kB / 0.5035 GB, free: 3.512 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.6015, allocations: 0 / 0.5035 GB, free: 3.512 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.6016, allocations: 317.8 kB / 0.5038 GB, free: 3.195 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.6017, allocations: 7.562 kB / 0.5038 GB, free: 3.191 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.075e-05/0.6017, allocations: 25.53 kB / 0.5038 GB, free: 3.164 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.435e-05/0.6017, allocations: 4 kB / 0.5038 GB, free: 3.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.6017, allocations: 0 / 0.5038 GB, free: 3.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001239/0.6019, allocations: 77.67 kB / 0.5039 GB, free: 3.082 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.6019, allocations: 4 kB / 0.5039 GB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.6019, allocations: 3.938 kB / 0.5039 GB, free: 3.074 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001526/0.6021, allocations: 12.86 kB / 0.5039 GB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.154e-05/0.6021, allocations: 11.59 kB / 0.5039 GB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007679/0.6029, allocations: 1.208 MB / 0.5051 GB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.603, allocations: 8.188 kB / 0.5051 GB, free: 1.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.603, allocations: 0 / 0.5051 GB, free: 1.746 MB / 314.7 MB 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 7.113e-05/0.603, allocations: 101 kB / 0.5052 GB, free: 1.641 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001225/0.6032, allocations: 73.2 kB / 0.5053 GB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.6032, allocations: 0 / 0.5053 GB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.6032, allocations: 7.438 kB / 0.5053 GB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6032, allocations: 0 / 0.5053 GB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.6033, allocations: 4 kB / 0.5053 GB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.6033, allocations: 4 kB / 0.5053 GB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.6034, allocations: 141.3 kB / 0.5054 GB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6034, allocations: 0 / 0.5054 GB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/0.6034, allocations: 4 kB / 0.5054 GB, free: 1.371 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.059e-05/0.6035, allocations: 19.84 kB / 0.5054 GB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.6035, allocations: 0 / 0.5054 GB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006664/0.6042, allocations: 1.197 MB / 0.5066 GB, free: 72 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.6042, allocations: 8.016 kB / 0.5066 GB, free: 64 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.6045, allocations: 167 kB / 0.5068 GB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.6045, allocations: 85.16 kB / 0.5069 GB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-06/0.6045, allocations: 0 / 0.5069 GB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.623e-05/0.6046, allocations: 128 / 0.5069 GB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.6046, allocations: 4.094 kB / 0.5069 GB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.6046, allocations: 7.984 kB / 0.5069 GB, free: 15.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.143e-05/0.6047, allocations: 86.34 kB / 0.5069 GB, free: 15.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6047, allocations: 0 / 0.5069 GB, free: 15.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.6049, allocations: 4 kB / 0.507 GB, free: 15.69 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0005876/0.6055, allocations: 0.7072 MB / 0.5076 GB, free: 14.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.6059, allocations: 133.2 kB / 0.5078 GB, free: 14.83 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6059, allocations: 3.938 kB / 0.5078 GB, free: 14.83 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.6061, allocations: 113.2 kB / 0.5079 GB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.6063, allocations: 6.453 kB / 0.5079 GB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.6067, allocations: 145.1 kB / 0.508 GB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.6071, allocations: 0.6807 MB / 0.5087 GB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.52e-05/0.6072, allocations: 3.984 kB / 0.5087 GB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.6072, allocations: 16.72 kB / 0.5087 GB, free: 13.81 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6072, allocations: 0 / 0.5087 GB, free: 13.81 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.631, allocations: 0.9077 MB / 0.5096 GB, free: 12.94 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/0.6313, allocations: 204.5 kB / 0.5098 GB, free: 12.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/2.197, allocations: 0.9375 kB / 0.5098 GB, free: 12.66 MB / 330.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1)