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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 108.9 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.002787/0.002787, allocations: 0.5693 MB / 309.4 MB, free: 3.688 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.91 kB / 430 MB, free: 18.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0943/0.09622, allocations: 53.49 MB / 483.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001661/0.09788, allocations: 0.523 MB / 484 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001497/0.09803, allocations: 19.92 kB / 484 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.09805, allocations: 4 kB / 484 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.09807, allocations: 0 / 484 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.885e-05/0.0981, allocations: 3.938 kB / 484 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.09822, allocations: 11.97 kB / 484 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.578e-05/0.09827, allocations: 15.98 kB / 484.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.09831, allocations: 4 kB / 484.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.254e-05/0.09834, allocations: 15.92 kB / 484.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.0984, allocations: 11.94 kB / 484.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.09841, allocations: 0 / 484.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-06/0.09842, allocations: 0 / 484.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.09844, allocations: 15.97 kB / 484.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.09847, allocations: 3.938 kB / 484.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.071e-05/0.09853, allocations: 20.08 kB / 484.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.09853, allocations: 0 / 484.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.09853, allocations: 3.938 kB / 484.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.09854, allocations: 4 kB / 484.1 MB, free: 12.33 MB / 350.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.0004103/0.09895, allocations: 339.5 kB / 484.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.09899, allocations: 8.031 kB / 484.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.09903, allocations: 34.73 kB / 484.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.09905, allocations: 4.938 kB / 484.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.09918, allocations: 160.4 kB / 484.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.09919, allocations: 4.375 kB / 484.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.09921, allocations: 4.375 kB / 484.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.09931, allocations: 46.25 kB / 484.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.09932, allocations: 3.938 kB / 484.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.09933, allocations: 12 kB / 484.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.09934, allocations: 0 / 484.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.267e-05/0.09938, allocations: 15.92 kB / 484.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.09969, allocations: 252.8 kB / 485 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.0998, allocations: 54.56 kB / 485.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.09984, allocations: 16.98 kB / 485.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-06/0.09985, allocations: 4 kB / 485.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.09988, allocations: 38.48 kB / 485.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.09988, allocations: 0 / 485.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007412/0.1006, allocations: 0.4947 MB / 485.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.821e-05/0.1007, allocations: 55.41 kB / 485.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.461e-05/0.1008, allocations: 105.8 kB / 485.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1008, allocations: 29.7 kB / 485.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.1009, allocations: 84.12 kB / 485.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.1009, allocations: 27.75 kB / 485.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.1009, allocations: 29.7 kB / 485.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1011, allocations: 314.8 kB / 486.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.338e-05/0.1011, allocations: 15.98 kB / 486.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.472e-05/0.1011, allocations: 33.72 kB / 486.3 MB, free: 9.855 MB / 350.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.0003719/0.1015, allocations: 248.6 kB / 486.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1015, allocations: 0 / 486.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001657/0.1017, allocations: 98.72 kB / 486.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1017, allocations: 4 kB / 486.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1017, allocations: 4 kB / 486.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001147/0.1018, allocations: 32.88 kB / 486.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.592e-05/0.1019, allocations: 19.92 kB / 486.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.1031, allocations: 1.383 MB / 488.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.1031, allocations: 4 kB / 488.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1031, allocations: 4.031 kB / 488.1 MB, free: 7.863 MB / 350.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.87e-05/0.1032, allocations: 117.8 kB / 488.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.1033, allocations: 7.953 kB / 488.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.1033, allocations: 7.969 kB / 488.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.1033, allocations: 4.062 kB / 488.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1033, allocations: 4 kB / 488.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1033, allocations: 0 / 488.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004457/0.1037, allocations: 361.8 kB / 488.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.1037, allocations: 4 kB / 488.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.199e-05/0.1038, allocations: 15.92 kB / 488.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.198e-05/0.1039, allocations: 24.94 kB / 488.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1039, allocations: 0 / 488.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.105, allocations: 1.391 MB / 490 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.105, allocations: 0 / 490 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.1052, allocations: 230.8 kB / 490.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.1053, allocations: 93.16 kB / 490.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.1053, allocations: 4.078 kB / 490.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.1053, allocations: 0 / 490.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.1054, allocations: 15.97 kB / 490.3 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.1054, allocations: 4 kB / 490.3 MB, free: 5.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.14e-05/0.1054, allocations: 79.28 kB / 490.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1054, allocations: 0 / 490.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000236/0.1056, allocations: 12 kB / 490.4 MB, free: 5.238 MB / 350.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.0005685/0.1062, allocations: 0.7509 MB / 491.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003048/0.1065, allocations: 166.6 kB / 491.3 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1065, allocations: 0 / 491.3 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.1067, allocations: 138.7 kB / 491.5 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.1069, allocations: 10.19 kB / 491.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.1083, allocations: 1.401 MB / 492.9 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.1086, allocations: 0.6885 MB / 493.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.635e-05/0.1086, allocations: 0 / 493.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.1086, allocations: 19.44 kB / 493.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1086, allocations: 0 / 493.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.1385, allocations: 1.811 MB / 495.4 MB, free: 312 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.702/9.841, allocations: 8.812 kB / 495.4 MB, free: 304 kB / 350.1 MB " [Timeout remaining time 650] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.329907534003723] Failed to read output from testmodel.py, exit status != 0: 9.917441744997632 9.931641858 9.830468524 Calling exit ...