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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005377/0.005377, allocations: 171.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.2 MB / 239 MB, free: 1.828 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.001352/0.001352, allocations: 96.33 kB / 290.2 MB, free: 13.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002366/0.002366, allocations: 0.5652 MB / 341.9 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 8.719 kB / 403 MB, free: 98.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 50.58 MB / 453.6 MB, free: 59.19 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09903/0.2028, allocations: 75.15 MB / 0.5163 GB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.2031, allocations: 67.97 kB / 0.5164 GB, free: 15.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001464/0.2046, allocations: 0.5831 MB / 0.517 GB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.2046, allocations: 4 kB / 0.517 GB, free: 15.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.2047, allocations: 4 kB / 0.517 GB, free: 15.28 MB / 362.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.0004843/0.2052, allocations: 319.4 kB / 0.5173 GB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.798e-05/0.2052, allocations: 12.03 kB / 0.5173 GB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.056e-05/0.2053, allocations: 42.67 kB / 0.5173 GB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.2054, allocations: 7.859 kB / 0.5174 GB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.2056, allocations: 167 kB / 0.5175 GB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.2056, allocations: 3.938 kB / 0.5175 GB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.2057, allocations: 8 kB / 0.5175 GB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.2059, allocations: 44.48 kB / 0.5176 GB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.2059, allocations: 4 kB / 0.5176 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.2059, allocations: 0 / 0.5176 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.2059, allocations: 3.953 kB / 0.5176 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.888e-05/0.206, allocations: 15.98 kB / 0.5176 GB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.2064, allocations: 252.9 kB / 0.5178 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.2066, allocations: 46.56 kB / 0.5179 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2066, allocations: 8 kB / 0.5179 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.2067, allocations: 34.69 kB / 0.5179 GB, free: 14.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.2067, allocations: 0 / 0.5179 GB, free: 14.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001068/0.2077, allocations: 0.4984 MB / 0.5184 GB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.2078, allocations: 51.41 kB / 0.5185 GB, free: 13.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2079, allocations: 96.98 kB / 0.5185 GB, free: 13.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.208, allocations: 25.7 kB / 0.5186 GB, free: 13.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.208, allocations: 84.14 kB / 0.5186 GB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.2081, allocations: 31.5 kB / 0.5187 GB, free: 13.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.2081, allocations: 0 / 0.5187 GB, free: 13.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.2083, allocations: 322.8 kB / 0.519 GB, free: 12.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.64e-05/0.2084, allocations: 12 kB / 0.519 GB, free: 12.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.571e-05/0.2084, allocations: 33.7 kB / 0.519 GB, free: 12.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.2088, allocations: 202.4 kB / 0.5192 GB, free: 12.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2088, allocations: 0 / 0.5192 GB, free: 12.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001979/0.209, allocations: 102.3 kB / 0.5193 GB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.209, allocations: 4 kB / 0.5193 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.209, allocations: 96 / 0.5193 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.2092, allocations: 28.78 kB / 0.5194 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.216e-05/0.2093, allocations: 8 kB / 0.5194 GB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.2107, allocations: 1.292 MB / 0.5206 GB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.319e-05/0.2108, allocations: 0 / 0.5206 GB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.2108, allocations: 4.031 kB / 0.5206 GB, free: 11.06 MB / 362.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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 () * Number of clocked 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 0.0002144/0.211, allocations: 129.8 kB / 0.5207 GB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.211, allocations: 7.844 kB / 0.5208 GB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.2111, allocations: 7.969 kB / 0.5208 GB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2111, allocations: 4 kB / 0.5208 GB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2111, allocations: 3.984 kB / 0.5208 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.2111, allocations: 0 / 0.5208 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.2116, allocations: 369.8 kB / 0.5211 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.2116, allocations: 4 kB / 0.5211 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.583e-05/0.2117, allocations: 8 kB / 0.5211 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.995e-05/0.2117, allocations: 17.16 kB / 0.5212 GB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.2118, allocations: 11.95 kB / 0.5212 GB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.2129, allocations: 1.292 MB / 0.5224 GB, free: 9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.2129, allocations: 4.031 kB / 0.5224 GB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.2132, allocations: 264 kB / 0.5227 GB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.2133, allocations: 77.11 kB / 0.5228 GB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.2133, allocations: 4.281 kB / 0.5228 GB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.746e-05/0.2134, allocations: 4.062 kB / 0.5228 GB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.2134, allocations: 19.88 kB / 0.5228 GB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.2135, allocations: 4 kB / 0.5228 GB, free: 8.566 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.2135, allocations: 79.27 kB / 0.5229 GB, free: 8.488 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2135, allocations: 0 / 0.5229 GB, free: 8.488 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002627/0.2138, allocations: 20 kB / 0.5229 GB, free: 8.469 MB / 362.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 () * Number of clocked 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.0009564/0.2147, allocations: 1.001 MB / 0.5239 GB, free: 7.422 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004053/0.2152, allocations: 170.8 kB / 0.524 GB, free: 7.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2152, allocations: 0 / 0.524 GB, free: 7.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.2154, allocations: 142.6 kB / 0.5242 GB, free: 7.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.2156, allocations: 9.359 kB / 0.5242 GB, free: 7.082 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.2167, allocations: 0.6439 MB / 0.5248 GB, free: 6.375 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.2171, allocations: 0.6888 MB / 0.5255 GB, free: 5.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.866e-05/0.2171, allocations: 8.109 kB / 0.5255 GB, free: 5.648 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.2172, allocations: 15.44 kB / 0.5255 GB, free: 5.633 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2172, allocations: 0 / 0.5255 GB, free: 5.633 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.2321, allocations: 1.489 MB / 0.5269 GB, free: 4.402 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/0.2324, allocations: 269.4 kB / 0.5272 GB, free: 4.039 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/1.743, allocations: 0 / 0.5272 GB, free: 4.039 MB / 362.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)