Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",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.006774/0.006774, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001372/0.001372, allocations: 193.3 kB / 16.67 MB, free: 5.969 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.002529/0.002529, allocations: 0.5585 MB / 291.1 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1693/0.1693, allocations: 57.86 kB / 401.9 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.2731, allocations: 49.59 MB / 451.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001442/0.2746, allocations: 0.5263 MB / 452 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001706/0.2747, allocations: 23 kB / 452.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.511e-05/0.2748, allocations: 0 / 452.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.2748, allocations: 0 / 452.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.573e-05/0.2748, allocations: 3.938 kB / 452.1 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.275, allocations: 11.98 kB / 452.1 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.352e-05/0.275, allocations: 11.98 kB / 452.1 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.2751, allocations: 4 kB / 452.1 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.2751, allocations: 7.938 kB / 452.1 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.045e-05/0.2752, allocations: 19.91 kB / 452.1 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.2752, allocations: 0 / 452.1 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.2752, allocations: 4 kB / 452.1 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.2752, allocations: 7.938 kB / 452.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.2752, allocations: 11.92 kB / 452.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.97e-05/0.2753, allocations: 15.91 kB / 452.2 MB, free: 5.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2753, allocations: 0 / 452.2 MB, free: 5.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.2753, allocations: 4 kB / 452.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.2753, allocations: 0 / 452.2 MB, free: 5.312 MB / 318.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.0004031/0.2757, allocations: 331.1 kB / 452.5 MB, free: 4.941 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2758, allocations: 19.89 kB / 452.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.2758, allocations: 30.75 kB / 452.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.2759, allocations: 8.891 kB / 452.5 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.276, allocations: 168.4 kB / 452.7 MB, free: 4.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.276, allocations: 4.375 kB / 452.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.276, allocations: 4.375 kB / 452.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.988e-05/0.2761, allocations: 42.25 kB / 452.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2762, allocations: 7.875 kB / 452.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.2762, allocations: 4 kB / 452.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2762, allocations: 4 kB / 452.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.941e-05/0.2762, allocations: 19.92 kB / 452.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.2766, allocations: 290.5 kB / 453.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.476e-05/0.2767, allocations: 38.64 kB / 453.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.2767, allocations: 20.88 kB / 453.1 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.2768, allocations: 4 kB / 453.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.2768, allocations: 34.56 kB / 453.2 MB, free: 4.125 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2768, allocations: 0 / 453.2 MB, free: 4.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000379/0.2772, allocations: 155.6 kB / 453.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.2772, allocations: 51.41 kB / 453.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.318e-05/0.2773, allocations: 101.8 kB / 453.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.2773, allocations: 25.7 kB / 453.5 MB, free: 3.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.2773, allocations: 84.12 kB / 453.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.2774, allocations: 27.8 kB / 453.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.2774, allocations: 17.72 kB / 453.6 MB, free: 3.605 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.2775, allocations: 322.7 kB / 453.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.307e-05/0.2776, allocations: 12 kB / 454 MB, free: 3.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.2776, allocations: 17.72 kB / 454 MB, free: 3.246 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.898e-05/0.2776, allocations: 33.7 kB / 454 MB, free: 3.207 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2777, allocations: 4 kB / 454 MB, free: 3.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.044e-05/0.2777, allocations: 62.05 kB / 454.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.2778, allocations: 8 kB / 454.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.2778, allocations: 0 / 454.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2778, allocations: 0 / 454.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-05/0.2779, allocations: 12 kB / 454.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2779, allocations: 0 / 454.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.2779, allocations: 0 / 454.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.2779, allocations: 4 kB / 454.1 MB, free: 3.113 MB / 318.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.201e-05/0.278, allocations: 125.7 kB / 454.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.278, allocations: 7.984 kB / 454.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.2781, allocations: 7.5 kB / 454.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2781, allocations: 0 / 454.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2781, allocations: 4.125 kB / 454.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2781, allocations: 0 / 454.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.2783, allocations: 165.6 kB / 454.4 MB, free: 2.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.2783, allocations: 0 / 454.4 MB, free: 2.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.2783, allocations: 4 kB / 454.4 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000125/0.2784, allocations: 24.84 kB / 454.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.2785, allocations: 0 / 454.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009254/0.2794, allocations: 1.34 MB / 455.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2794, allocations: 3.938 kB / 455.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.2796, allocations: 180.2 kB / 455.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.2796, allocations: 81.14 kB / 456 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-06/0.2796, allocations: 4 kB / 456 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.517e-05/0.2797, allocations: 128 / 456 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.2797, allocations: 8 kB / 456 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.2797, allocations: 0 / 456 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.294e-05/0.2798, allocations: 79.27 kB / 456.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2798, allocations: 0 / 456.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002064/0.28, allocations: 12 kB / 456.1 MB, free: 0.8398 MB / 318.1 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 () * Number of clocked 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 (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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004532/0.2804, allocations: 0.7094 MB / 456.8 MB, free: 100 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.903e-05/0.2805, allocations: 31.95 kB / 456.9 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2805, allocations: 0 / 456.9 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.2808, allocations: 134.6 kB / 457 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.281, allocations: 10.98 kB / 457 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009754/0.2819, allocations: 1.251 MB / 458.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.2822, allocations: 0.6768 MB / 458.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.066e-05/0.2822, allocations: 7.984 kB / 458.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.2823, allocations: 11.44 kB / 458.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2823, allocations: 0 / 458.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6789/0.9611, allocations: 1.504 MB / 460.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.618/10.58, allocations: 8.891 kB / 460.5 MB, free: 12.56 MB / 334.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState_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_TwoMassesEquationsReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)