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.004722/0.004722, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001013/0.001013, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003721/0.003721, allocations: 0.5801 MB / 291.1 MB, free: 14.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 59.91 kB / 401.9 MB, free: 32.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08557/0.08677, allocations: 49.58 MB / 451.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001662/0.08848, allocations: 0.5159 MB / 452 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001904/0.0887, allocations: 31.89 kB / 452.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.08874, allocations: 0 / 452.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.08877, allocations: 3.938 kB / 452.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.092e-05/0.08882, allocations: 0 / 452.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.08896, allocations: 4 kB / 452.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.265e-05/0.08903, allocations: 19.92 kB / 452.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.426e-05/0.08909, allocations: 7.938 kB / 452.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.603e-05/0.08913, allocations: 15.92 kB / 452.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.542e-05/0.0892, allocations: 8 kB / 452.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.08922, allocations: 0 / 452.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.374e-06/0.08923, allocations: 0 / 452.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.08925, allocations: 15.91 kB / 452.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.08929, allocations: 7.938 kB / 452.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.78e-05/0.08936, allocations: 8.266 kB / 452.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.08937, allocations: 3.938 kB / 452.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.08938, allocations: 4 kB / 452.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.08939, allocations: 0 / 452.2 MB, free: 14.38 MB / 334.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.0003822/0.08978, allocations: 339.4 kB / 452.5 MB, free: 14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.08983, allocations: 8.031 kB / 452.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.08987, allocations: 38.73 kB / 452.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.08991, allocations: 8.891 kB / 452.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.09001, allocations: 160.4 kB / 452.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.09003, allocations: 4.375 kB / 452.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.09006, allocations: 4.375 kB / 452.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.09017, allocations: 46.19 kB / 452.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.09019, allocations: 7.938 kB / 452.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.09021, allocations: 7.984 kB / 452.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.09022, allocations: 0 / 452.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.217e-05/0.09027, allocations: 15.98 kB / 452.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.09056, allocations: 241 kB / 453 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.871e-05/0.09067, allocations: 58.44 kB / 453.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.068e-05/0.09071, allocations: 16.98 kB / 453.1 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.09073, allocations: 4 kB / 453.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.09076, allocations: 38.56 kB / 453.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.09076, allocations: 0 / 453.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007132/0.09148, allocations: 0.5103 MB / 453.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.09152, allocations: 55.41 kB / 453.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.204e-05/0.09159, allocations: 93.86 kB / 453.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.09161, allocations: 29.7 kB / 453.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.09165, allocations: 84.14 kB / 453.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.09169, allocations: 27.73 kB / 453.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.09173, allocations: 25.72 kB / 454 MB, free: 12.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.09182, allocations: 318.8 kB / 454.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.908e-05/0.09186, allocations: 16 kB / 454.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.0919, allocations: 41.64 kB / 454.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.09218, allocations: 251.8 kB / 454.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.0922, allocations: 3.938 kB / 454.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001514/0.09235, allocations: 98.42 kB / 454.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.09238, allocations: 4 kB / 454.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.09239, allocations: 0 / 454.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001136/0.09251, allocations: 32.78 kB / 454.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.09258, allocations: 11.98 kB / 454.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009083/0.09349, allocations: 1.38 MB / 456.1 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.556e-05/0.09353, allocations: 8.031 kB / 456.1 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.09354, allocations: 0 / 456.1 MB, free: 9.91 MB / 334.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.0001552/0.0937, allocations: 130.4 kB / 456.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.09373, allocations: 0 / 456.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.09376, allocations: 11.97 kB / 456.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.09376, allocations: 0 / 456.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.09377, allocations: 4.062 kB / 456.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.09378, allocations: 0 / 456.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.09416, allocations: 365.8 kB / 456.6 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.09417, allocations: 0 / 456.6 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.09423, allocations: 19.92 kB / 456.6 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-05/0.09431, allocations: 20.94 kB / 456.6 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.09432, allocations: 4 kB / 456.6 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008025/0.09513, allocations: 1.391 MB / 458 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.09514, allocations: 0 / 458 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.09536, allocations: 226.8 kB / 458.3 MB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.0954, allocations: 81.09 kB / 458.3 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.09542, allocations: 12.09 kB / 458.4 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.421e-05/0.09548, allocations: 0 / 458.4 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.09551, allocations: 11.94 kB / 458.4 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.09552, allocations: 7.984 kB / 458.4 MB, free: 7.375 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.915e-05/0.09555, allocations: 75.28 kB / 458.4 MB, free: 7.301 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09556, allocations: 4 kB / 458.4 MB, free: 7.297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.0958, allocations: 12 kB / 458.5 MB, free: 7.285 MB / 334.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.0004369/0.09624, allocations: 0.757 MB / 459.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.09654, allocations: 174.6 kB / 459.4 MB, free: 6.309 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.09655, allocations: 4 kB / 459.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.09671, allocations: 142.6 kB / 459.5 MB, free: 6.152 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.09694, allocations: 4 kB / 459.5 MB, free: 6.148 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.09805, allocations: 1.398 MB / 460.9 MB, free: 4.641 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.09828, allocations: 0.6885 MB / 461.6 MB, free: 3.926 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.956e-05/0.09831, allocations: 3.984 kB / 461.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.09834, allocations: 15.44 kB / 461.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09835, allocations: 4 kB / 461.6 MB, free: 3.902 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4347/0.5331, allocations: 1.779 MB / 463.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.52, allocations: 15.48 kB / 463.4 MB, free: 2.344 MB / 334.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 & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1)