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.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.159/1.159, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.002312/0.002312, allocations: 0.5507 MB / 290.5 MB, free: 1.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 59.91 kB / 351 MB, free: 2.699 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07055/0.07161, allocations: 49.59 MB / 400.6 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.00151/0.07315, allocations: 0.5695 MB / 401.1 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001533/0.07332, allocations: 27.89 kB / 401.2 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.07335, allocations: 0 / 401.2 MB, free: 480 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.07338, allocations: 0 / 401.2 MB, free: 480 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.821e-05/0.07341, allocations: 0 / 401.2 MB, free: 480 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.07355, allocations: 7.984 kB / 401.2 MB, free: 472 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.233e-05/0.07361, allocations: 23.92 kB / 401.2 MB, free: 448 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.129e-05/0.07367, allocations: 7.984 kB / 401.2 MB, free: 440 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.437e-05/0.07369, allocations: 11.94 kB / 401.2 MB, free: 428 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.07376, allocations: 7.922 kB / 401.2 MB, free: 420 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.07379, allocations: 4 kB / 401.2 MB, free: 416 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.0738, allocations: 0 / 401.2 MB, free: 416 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.07382, allocations: 4 kB / 401.2 MB, free: 412 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.07385, allocations: 11.94 kB / 401.2 MB, free: 400 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.495e-05/0.07391, allocations: 19.84 kB / 401.3 MB, free: 380 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.07392, allocations: 0 / 401.3 MB, free: 380 kB / 286.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.07393, allocations: 4 kB / 401.3 MB, free: 376 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.07394, allocations: 0 / 401.3 MB, free: 376 kB / 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.1204/0.1943, allocations: 334.4 kB / 401.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1944, allocations: 9.219 kB / 401.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.407e-05/0.1944, allocations: 35.97 kB / 401.6 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.1944, allocations: 4.422 kB / 401.6 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.806e-05/0.1945, allocations: 168.4 kB / 401.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.1945, allocations: 1.531 kB / 401.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.1945, allocations: 10.84 kB / 401.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.348e-05/0.1946, allocations: 45.73 kB / 401.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.1946, allocations: 5.156 kB / 401.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.1946, allocations: 0.5 kB / 401.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1946, allocations: 1.188 kB / 401.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.527e-05/0.1947, allocations: 14.48 kB / 401.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.1949, allocations: 248.7 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.009e-05/0.195, allocations: 59.59 kB / 402.2 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.834e-05/0.195, allocations: 22.84 kB / 402.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-06/0.195, allocations: 0 / 402.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.103e-05/0.195, allocations: 33.23 kB / 402.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.195, allocations: 0 / 402.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005041/0.1955, allocations: 0.4981 MB / 402.7 MB, free: 9.812 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.761e-05/0.1956, allocations: 53.25 kB / 402.8 MB, free: 9.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.467e-05/0.1956, allocations: 99.5 kB / 402.9 MB, free: 9.652 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.1956, allocations: 29.61 kB / 402.9 MB, free: 9.621 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.431e-05/0.1956, allocations: 84.47 kB / 403 MB, free: 9.539 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.1957, allocations: 32.09 kB / 403 MB, free: 9.523 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.1957, allocations: 24.02 kB / 403.1 MB, free: 9.508 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.13e-05/0.1957, allocations: 321.8 kB / 403.4 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.701e-05/0.1958, allocations: 14 kB / 403.4 MB, free: 9.191 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.1958, allocations: 41.22 kB / 403.4 MB, free: 9.176 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.196, allocations: 242.7 kB / 403.7 MB, free: 8.969 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.196, allocations: 4 kB / 403.7 MB, free: 8.965 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001304/0.1962, allocations: 102.6 kB / 403.8 MB, free: 8.918 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.1962, allocations: 5.797 kB / 403.8 MB, free: 8.918 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1962, allocations: 0.625 kB / 403.8 MB, free: 8.918 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.808e-05/0.1963, allocations: 29 kB / 403.8 MB, free: 8.906 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.513e-05/0.1964, allocations: 11.09 kB / 403.8 MB, free: 8.906 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000561/0.1969, allocations: 1.285 MB / 405.1 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.887e-05/0.1969, allocations: 3 kB / 405.1 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.197, allocations: 2.25 kB / 405.1 MB, free: 7.641 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.0001053/0.1971, allocations: 117 kB / 405.2 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.1971, allocations: 13.88 kB / 405.2 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.821e-05/0.1971, allocations: 8.469 kB / 405.2 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1971, allocations: 0.9375 kB / 405.2 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1971, allocations: 0.8125 kB / 405.2 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1971, allocations: 1.328 kB / 405.2 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.1974, allocations: 380.5 kB / 405.6 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1975, allocations: 1.062 kB / 405.6 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.1975, allocations: 9.156 kB / 405.6 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.937e-05/0.1976, allocations: 22.17 kB / 405.6 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.1976, allocations: 2.125 kB / 405.6 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004922/0.1981, allocations: 1.295 MB / 406.9 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1981, allocations: 2.203 kB / 406.9 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.1983, allocations: 230.7 kB / 407.2 MB, free: 5.707 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.1983, allocations: 80.22 kB / 407.2 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-06/0.1983, allocations: 9.328 kB / 407.3 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.952e-05/0.1984, allocations: 1.938 kB / 407.3 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.1984, allocations: 7.188 kB / 407.3 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1984, allocations: 6.375 kB / 407.3 MB, free: 5.613 MB / 286.1 MB Notification: Performance of sorting global known variables: time 1.596e-05/0.1984, allocations: 82.34 kB / 407.4 MB, free: 5.535 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1984, allocations: 0 / 407.4 MB, free: 5.535 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.1986, allocations: 12.69 kB / 407.4 MB, free: 5.535 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.0002746/0.1989, allocations: 0.7699 MB / 408.1 MB, free: 4.824 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.1991, allocations: 159.2 kB / 408.3 MB, free: 4.707 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1992, allocations: 0 / 408.3 MB, free: 4.707 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.1993, allocations: 147.8 kB / 408.4 MB, free: 4.582 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.1995, allocations: 8.484 kB / 408.4 MB, free: 4.578 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007649/0.2003, allocations: 1.402 MB / 409.8 MB, free: 3.25 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.825e-05/0.2004, allocations: 0.6875 MB / 410.5 MB, free: 2.551 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.547e-05/0.2004, allocations: 3.562 kB / 410.5 MB, free: 2.551 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.2004, allocations: 15.23 kB / 410.6 MB, free: 2.543 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2004, allocations: 0 / 410.6 MB, free: 2.543 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.048/2.249, allocations: 1.605 MB / 412.2 MB, free: 2.316 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/2.249, allocations: 288.8 kB / 412.4 MB, free: 1.938 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.107/4.356, allocations: 0 / 412.4 MB, free: 1.938 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)