Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.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.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent",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.001149/0.001149, allocations: 112.5 kB / 15.73 MB, free: 76 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.001275/0.001275, allocations: 190.3 kB / 16.67 MB, free: 6.543 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.003024/0.003025, allocations: 0.5624 MB / 291.1 MB, free: 1.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1774/0.1774, allocations: 62.8 kB / 401.9 MB, free: 9.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09913/0.2766, allocations: 49.59 MB / 451.5 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001757/0.2784, allocations: 0.5453 MB / 452.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001671/0.2786, allocations: 27.89 kB / 452.1 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.2786, allocations: 0 / 452.1 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.2787, allocations: 3.938 kB / 452.1 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.763e-05/0.2787, allocations: 0 / 452.1 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.2788, allocations: 4 kB / 452.1 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.687e-05/0.2789, allocations: 19.92 kB / 452.1 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.2789, allocations: 0 / 452.1 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.792e-05/0.279, allocations: 15.92 kB / 452.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.312e-05/0.279, allocations: 11.92 kB / 452.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.2791, allocations: 0 / 452.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.2791, allocations: 8 kB / 452.1 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.2791, allocations: 7.984 kB / 452.2 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.2791, allocations: 7.938 kB / 452.2 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.039e-05/0.2792, allocations: 15.92 kB / 452.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2792, allocations: 0 / 452.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2792, allocations: 0 / 452.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.2792, allocations: 0 / 452.2 MB, free: 5.293 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.0003528/0.2796, allocations: 339.1 kB / 452.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2796, allocations: 11.89 kB / 452.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.997e-05/0.2796, allocations: 38.75 kB / 452.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.2797, allocations: 4.891 kB / 452.6 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.2798, allocations: 164.4 kB / 452.7 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.2798, allocations: 4.375 kB / 452.7 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.2798, allocations: 4.375 kB / 452.7 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.28, allocations: 50.19 kB / 452.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.28, allocations: 3.938 kB / 452.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.28, allocations: 3.938 kB / 452.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.28, allocations: 0 / 452.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.841e-05/0.28, allocations: 11.98 kB / 452.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.2803, allocations: 257 kB / 453.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.2804, allocations: 66.42 kB / 453.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.2805, allocations: 20.97 kB / 453.1 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.2805, allocations: 0 / 453.1 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.2805, allocations: 30.56 kB / 453.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.2805, allocations: 4 kB / 453.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006792/0.2812, allocations: 0.4942 MB / 453.7 MB, free: 3.539 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.2813, allocations: 55.41 kB / 453.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.548e-05/0.2813, allocations: 101.8 kB / 453.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.2814, allocations: 25.7 kB / 453.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.2814, allocations: 88.14 kB / 453.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.2814, allocations: 23.81 kB / 454 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.2815, allocations: 29.64 kB / 454 MB, free: 3.184 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.003e-05/0.2816, allocations: 318.8 kB / 454.3 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.869e-05/0.2816, allocations: 15.98 kB / 454.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.102e-05/0.2817, allocations: 29.7 kB / 454.3 MB, free: 2.812 MB / 318.1 MB Error: The initialization problem is inconsistent due to the following equation: x1 = 0.0 (1.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.282, allocations: 255.8 kB / 454.6 MB, free: 2.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.282, allocations: 0 / 454.6 MB, free: 2.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000151/0.2822, allocations: 98.42 kB / 454.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2822, allocations: 8 kB / 454.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.2822, allocations: 0.875 kB / 454.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001059/0.2823, allocations: 20.78 kB / 454.7 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.2824, allocations: 15.94 kB / 454.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009266/0.2833, allocations: 1.387 MB / 456.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.2833, allocations: 4.062 kB / 456.1 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.2834, allocations: 4.031 kB / 456.1 MB, free: 0.8281 MB / 318.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 9.014e-05/0.2834, allocations: 126.3 kB / 456.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.2835, allocations: 0 / 456.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.2835, allocations: 7.969 kB / 456.3 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2835, allocations: 4 kB / 456.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2835, allocations: 3.984 kB / 456.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.2835, allocations: 0 / 456.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.2839, allocations: 377.8 kB / 456.6 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2839, allocations: 96 / 456.6 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.211e-05/0.284, allocations: 15.88 kB / 456.6 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.497e-05/0.2841, allocations: 20.84 kB / 456.7 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.2841, allocations: 4 kB / 456.7 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008353/0.2849, allocations: 1.387 MB / 458.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2849, allocations: 4.031 kB / 458.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.2852, allocations: 227.2 kB / 458.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.2852, allocations: 81.14 kB / 458.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.2852, allocations: 16 kB / 458.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.501e-05/0.2853, allocations: 64 / 458.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.2853, allocations: 15.92 kB / 458.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-06/0.2853, allocations: 4 kB / 458.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.147e-05/0.2854, allocations: 83.22 kB / 458.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2854, allocations: 0 / 458.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.2856, allocations: 8 kB / 458.5 MB, free: 14.2 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.0004336/0.286, allocations: 0.7626 MB / 459.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.2863, allocations: 162.6 kB / 459.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2863, allocations: 4.062 kB / 459.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.2865, allocations: 146.6 kB / 459.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.2867, allocations: 4 kB / 459.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.2878, allocations: 1.391 MB / 461 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.2881, allocations: 0.6846 MB / 461.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.854e-05/0.2881, allocations: 4 kB / 461.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.2881, allocations: 11.44 kB / 461.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2881, allocations: 3.938 kB / 461.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.322, allocations: 1.813 MB / 463.5 MB, free: 9.219 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.273/9.595, allocations: 10.12 kB / 463.5 MB, free: 9.207 MB / 334.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent_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_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1)