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.001382/0.001382, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001547/0.001547, allocations: 204.8 kB / 22.24 MB, free: 5.262 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.793 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.00375/0.00375, allocations: 0.5809 MB / 313 MB, free: 2.328 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.00207/0.00207, allocations: 67.89 kB / 435.1 MB, free: 16.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09988/0.1019, allocations: 53.52 MB / 488.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001644/0.1036, allocations: 0.5239 MB / 489.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001622/0.1038, allocations: 27.92 kB / 489.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.42e-05/0.1038, allocations: 0 / 489.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.1038, allocations: 7.875 kB / 489.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.558e-05/0.1038, allocations: 0 / 489.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.1039, allocations: 11.97 kB / 489.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.404e-05/0.104, allocations: 15.98 kB / 489.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.104, allocations: 3.938 kB / 489.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.1041, allocations: 11.98 kB / 489.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.1041, allocations: 7.938 kB / 489.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.1041, allocations: 0 / 489.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.1041, allocations: 4 kB / 489.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.1042, allocations: 19.91 kB / 489.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.1042, allocations: 4 kB / 489.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.71e-05/0.1043, allocations: 16.14 kB / 489.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1043, allocations: 0 / 489.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1043, allocations: 0 / 489.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1043, allocations: 0 / 489.3 MB, free: 10.63 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.0003725/0.1046, allocations: 258.4 kB / 489.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1047, allocations: 12.03 kB / 489.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.1047, allocations: 34.73 kB / 489.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.1047, allocations: 4.938 kB / 489.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.1048, allocations: 106.5 kB / 489.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1049, allocations: 8.375 kB / 489.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.1049, allocations: 384 / 489.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.105, allocations: 50.19 kB / 489.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.105, allocations: 3.938 kB / 489.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.105, allocations: 4 kB / 489.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.105, allocations: 0 / 489.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.983e-05/0.105, allocations: 11.98 kB / 489.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.1054, allocations: 227.9 kB / 490 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.1055, allocations: 50.5 kB / 490 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.9e-05/0.1055, allocations: 28.91 kB / 490.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.593e-06/0.1055, allocations: 0 / 490.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1056, allocations: 34.56 kB / 490.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.1056, allocations: 0 / 490.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006844/0.1062, allocations: 356.2 kB / 490.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.1063, allocations: 55.41 kB / 490.5 MB, free: 9.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.219e-05/0.1064, allocations: 101.8 kB / 490.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1064, allocations: 25.7 kB / 490.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.1064, allocations: 84.14 kB / 490.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.1065, allocations: 31.73 kB / 490.7 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.1065, allocations: 25.72 kB / 490.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1066, allocations: 318.8 kB / 491.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.385e-05/0.1067, allocations: 20.23 kB / 491.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.681e-05/0.1067, allocations: 29.7 kB / 491.1 MB, free: 8.543 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.0003065/0.107, allocations: 93.62 kB / 491.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.107, allocations: 0 / 491.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001754/0.1072, allocations: 90.48 kB / 491.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1072, allocations: 7.984 kB / 491.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1072, allocations: 8 kB / 491.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001108/0.1073, allocations: 25.02 kB / 491.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.1074, allocations: 12 kB / 491.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.1085, allocations: 1.283 MB / 492.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.246e-05/0.1086, allocations: 0 / 492.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1086, allocations: 4.031 kB / 492.6 MB, free: 6.887 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 0.0001052/0.1087, allocations: 125.8 kB / 492.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.1087, allocations: 7.953 kB / 492.8 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.1087, allocations: 8.062 kB / 492.8 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1087, allocations: 0 / 492.8 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.1087, allocations: 4.25 kB / 492.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1087, allocations: 3.938 kB / 492.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.1092, allocations: 332.9 kB / 493.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1092, allocations: 4 kB / 493.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.297e-05/0.1093, allocations: 16.02 kB / 493.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.117e-05/0.1093, allocations: 20.84 kB / 493.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1093, allocations: 8 kB / 493.2 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.1104, allocations: 1.279 MB / 494.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1104, allocations: 0 / 494.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1106, allocations: 239.2 kB / 494.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-06/0.1106, allocations: 96 / 494.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.1106, allocations: 11.88 kB / 494.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.778e-05/0.1107, allocations: 4.125 kB / 494.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.1107, allocations: 15.92 kB / 494.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.1107, allocations: 4 kB / 494.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.231e-05/0.1108, allocations: 79.27 kB / 494.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1108, allocations: 4 kB / 494.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.111, allocations: 12 kB / 494.8 MB, free: 4.508 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.0006626/0.1117, allocations: 0.7528 MB / 495.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00029/0.112, allocations: 166.6 kB / 495.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.112, allocations: 4 kB / 495.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.1122, allocations: 142.6 kB / 495.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.1124, allocations: 10.91 kB / 495.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.1138, allocations: 1.402 MB / 497.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.538e-05/0.1139, allocations: 71.53 kB / 497.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.989e-05/0.1139, allocations: 4 kB / 497.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.1139, allocations: 15.89 kB / 497.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1139, allocations: 0 / 497.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03655/0.1505, allocations: 2.24 MB / 499.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.18, allocations: 2.578 kB / 499.6 MB, free: 15.71 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.861614442896098] Failed to read output from testmodel.py, exit status != 0: 12.284789836034179 12.301023701 12.193752752 Calling exit ...