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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.69/1.69, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.005207/0.005207, allocations: 0.5624 MB / 291 MB, free: 1.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 63.89 kB / 351.7 MB, free: 2.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1634, allocations: 49.59 MB / 401.2 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.003263/0.1668, allocations: 0.5134 MB / 401.8 MB, free: 84 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000242/0.1671, allocations: 23.89 kB / 401.8 MB, free: 60 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.1671, allocations: 0 / 401.8 MB, free: 60 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.1672, allocations: 7.938 kB / 401.8 MB, free: 52 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.269e-05/0.1672, allocations: 3.938 kB / 401.8 MB, free: 48 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.1674, allocations: 11.98 kB / 401.8 MB, free: 36 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.567e-05/0.1675, allocations: 19.92 kB / 401.8 MB, free: 16 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.462e-05/0.1676, allocations: 4 kB / 401.8 MB, free: 12 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.1676, allocations: 7.938 kB / 401.8 MB, free: 4 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3231/0.4907, allocations: 11.34 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.936e-05/0.4908, allocations: 2.25 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.502e-05/0.4909, allocations: 1 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.028e-05/0.4909, allocations: 6.25 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.994e-05/0.491, allocations: 8.797 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.4911, allocations: 14.73 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/0.4912, allocations: 3.562 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.997e-06/0.4912, allocations: 0.5156 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.4912, allocations: 1.094 kB / 401.9 MB, free: 10.36 MB / 286.1 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.000698/0.4919, allocations: 335.1 kB / 402.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.356e-05/0.492, allocations: 9.125 kB / 402.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.799e-05/0.4921, allocations: 36.12 kB / 402.3 MB, free: 9.973 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.4921, allocations: 2.5 kB / 402.3 MB, free: 9.973 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.4923, allocations: 169.1 kB / 402.4 MB, free: 9.777 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.4924, allocations: 7.906 kB / 402.4 MB, free: 9.777 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/0.4924, allocations: 3.469 kB / 402.4 MB, free: 9.777 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.4926, allocations: 46.94 kB / 402.5 MB, free: 9.746 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.4927, allocations: 4.75 kB / 402.5 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.4927, allocations: 4.281 kB / 402.5 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.4927, allocations: 1.125 kB / 402.5 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.299e-05/0.4928, allocations: 17.11 kB / 402.5 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.4933, allocations: 247.6 kB / 402.8 MB, free: 9.477 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.4935, allocations: 54.67 kB / 402.8 MB, free: 9.449 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.369e-05/0.4935, allocations: 19.08 kB / 402.8 MB, free: 9.441 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.4936, allocations: 4.125 kB / 402.8 MB, free: 9.441 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.4936, allocations: 37.11 kB / 402.9 MB, free: 9.402 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.4936, allocations: 0 / 402.9 MB, free: 9.402 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.001167/0.4948, allocations: 0.5044 MB / 403.4 MB, free: 8.961 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.4949, allocations: 52.5 kB / 403.4 MB, free: 8.898 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.924e-05/0.495, allocations: 100.3 kB / 403.5 MB, free: 8.797 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.495, allocations: 29.95 kB / 403.5 MB, free: 8.766 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.035e-05/0.4951, allocations: 81.66 kB / 403.6 MB, free: 8.684 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.4951, allocations: 24.56 kB / 403.6 MB, free: 8.668 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.4952, allocations: 28.8 kB / 403.7 MB, free: 8.648 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.5e-05/0.4952, allocations: 322 kB / 404 MB, free: 8.332 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.942e-05/0.4953, allocations: 13.98 kB / 404 MB, free: 8.332 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.455e-05/0.4953, allocations: 39.8 kB / 404 MB, free: 8.312 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.4956, allocations: 241.9 kB / 404.3 MB, free: 8.109 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.4956, allocations: 0 / 404.3 MB, free: 8.109 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002042/0.4959, allocations: 100.6 kB / 404.4 MB, free: 8.066 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.4959, allocations: 5.719 kB / 404.4 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.4959, allocations: 4.125 kB / 404.4 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001612/0.4961, allocations: 26.91 kB / 404.4 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.742e-05/0.4962, allocations: 14.59 kB / 404.4 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.4973, allocations: 1.386 MB / 405.8 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.636e-05/0.4974, allocations: 0.6562 kB / 405.8 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.4974, allocations: 3.531 kB / 405.8 MB, free: 6.691 MB / 286.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002677/0.4977, allocations: 119 kB / 405.9 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.4977, allocations: 2.484 kB / 405.9 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.4978, allocations: 10.97 kB / 405.9 MB, free: 6.562 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4978, allocations: 9.125 kB / 406 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.4978, allocations: 1.062 kB / 406 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4978, allocations: 1.219 kB / 406 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.4983, allocations: 372.6 kB / 406.3 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4983, allocations: 1.344 kB / 406.3 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.464e-05/0.4984, allocations: 12.66 kB / 406.3 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.781e-05/0.4985, allocations: 27 kB / 406.4 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.4985, allocations: 1.281 kB / 406.4 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009588/0.4994, allocations: 1.381 MB / 407.7 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.4995, allocations: 7.375 kB / 407.8 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.4998, allocations: 230.9 kB / 408 MB, free: 4.668 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.4998, allocations: 84.06 kB / 408.1 MB, free: 4.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.4998, allocations: 10.58 kB / 408.1 MB, free: 4.566 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.562e-05/0.4999, allocations: 1.219 kB / 408.1 MB, free: 4.566 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.4999, allocations: 7.109 kB / 408.1 MB, free: 4.566 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.5, allocations: 5.531 kB / 408.1 MB, free: 4.566 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.668e-05/0.5, allocations: 82.56 kB / 408.2 MB, free: 4.488 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5, allocations: 0.5625 kB / 408.2 MB, free: 4.488 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.5003, allocations: 16.28 kB / 408.2 MB, free: 4.484 MB / 286.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005206/0.5008, allocations: 0.7591 MB / 408.9 MB, free: 3.781 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003967/0.5012, allocations: 167.3 kB / 409.1 MB, free: 3.668 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.5012, allocations: 0 / 409.1 MB, free: 3.668 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.5014, allocations: 142.7 kB / 409.2 MB, free: 3.555 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.5017, allocations: 7.047 kB / 409.3 MB, free: 3.555 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.5031, allocations: 1.394 MB / 410.6 MB, free: 2.27 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.5033, allocations: 0.6885 MB / 411.3 MB, free: 1.57 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.442e-05/0.5033, allocations: 2.453 kB / 411.3 MB, free: 1.57 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.5034, allocations: 15.41 kB / 411.4 MB, free: 1.562 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5034, allocations: 0 / 411.4 MB, free: 1.562 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03319/0.5366, allocations: 1.733 MB / 413.1 MB, free: 1.215 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/15.11, allocations: 6.578 kB / 413.1 MB, free: 1.211 MB / 286.1 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/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)