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.001693/0.001693, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002088/0.002088, allocations: 216.9 kB / 22.26 MB, free: 5.082 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 / 256 MB, free: 8.023 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.004601/0.004601, allocations: 0.5714 MB / 313 MB, free: 2.547 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.001913/0.001913, allocations: 67.89 kB / 435.2 MB, free: 17.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1039, allocations: 53.52 MB / 488.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001735/0.1057, allocations: 0.5315 MB / 489.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001675/0.1058, allocations: 35.89 kB / 489.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.1059, allocations: 0 / 489.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.1059, allocations: 0 / 489.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.055e-05/0.1059, allocations: 3.938 kB / 489.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001143/0.106, allocations: 8 kB / 489.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.502e-05/0.1061, allocations: 15.98 kB / 489.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.1061, allocations: 0 / 489.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.932e-05/0.1062, allocations: 23.91 kB / 489.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.1062, allocations: 7.922 kB / 489.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1062, allocations: 0 / 489.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.1062, allocations: 4 kB / 489.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.1063, allocations: 7.938 kB / 489.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.1063, allocations: 7.938 kB / 489.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.187e-05/0.1064, allocations: 24.12 kB / 489.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1064, allocations: 0 / 489.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1064, allocations: 4 kB / 489.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.425e-06/0.1064, allocations: 0 / 489.4 MB, free: 10.83 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.0003854/0.1068, allocations: 254.4 kB / 489.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1068, allocations: 16.02 kB / 489.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.1068, allocations: 30.75 kB / 489.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.129e-05/0.1069, allocations: 0.9375 kB / 489.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.107, allocations: 110.5 kB / 489.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.107, allocations: 384 / 489.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.107, allocations: 4.375 kB / 489.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.1071, allocations: 50.25 kB / 489.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.1071, allocations: 3.938 kB / 489.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1072, allocations: 4 kB / 489.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1072, allocations: 0 / 489.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.158e-05/0.1072, allocations: 23.92 kB / 489.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.1075, allocations: 224 kB / 490.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.1077, allocations: 54.5 kB / 490.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.1077, allocations: 16.98 kB / 490.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1077, allocations: 3.984 kB / 490.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1077, allocations: 34.5 kB / 490.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.1077, allocations: 0 / 490.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007383/0.1085, allocations: 359.9 kB / 490.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.1085, allocations: 51.41 kB / 490.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.926e-05/0.1086, allocations: 105.7 kB / 490.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.1086, allocations: 25.7 kB / 490.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.1087, allocations: 88.12 kB / 490.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.1087, allocations: 27.75 kB / 490.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.1087, allocations: 25.7 kB / 490.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1089, allocations: 322.8 kB / 491.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.205e-05/0.1089, allocations: 19.98 kB / 491.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.962e-05/0.109, allocations: 21.72 kB / 491.2 MB, free: 8.742 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.0003446/0.1093, allocations: 101.8 kB / 491.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1093, allocations: 0.8125 kB / 491.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001626/0.1095, allocations: 98.47 kB / 491.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1095, allocations: 4 kB / 491.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1095, allocations: 0 / 491.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001181/0.1096, allocations: 24.78 kB / 491.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.74e-05/0.1097, allocations: 16.05 kB / 491.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.1108, allocations: 1.279 MB / 492.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.1108, allocations: 0 / 492.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1108, allocations: 4 kB / 492.7 MB, free: 7.082 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.0001159/0.1109, allocations: 121.8 kB / 492.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.1109, allocations: 7.953 kB / 492.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.111, allocations: 12 kB / 492.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.111, allocations: 192 / 492.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.111, allocations: 0 / 492.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.111, allocations: 7.984 kB / 492.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.1114, allocations: 340.9 kB / 493.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1114, allocations: 0 / 493.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.1115, allocations: 11.94 kB / 493.2 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.092e-05/0.1115, allocations: 24.84 kB / 493.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1115, allocations: 3.984 kB / 493.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009545/0.1125, allocations: 1.287 MB / 494.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1125, allocations: 0 / 494.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.1127, allocations: 231.2 kB / 494.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-06/0.1128, allocations: 11.97 kB / 494.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.1128, allocations: 3.938 kB / 494.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.639e-05/0.1128, allocations: 4 kB / 494.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.1128, allocations: 4.078 kB / 494.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.1129, allocations: 15.92 kB / 494.8 MB, free: 4.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.624e-05/0.1129, allocations: 79.42 kB / 494.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1129, allocations: 4.062 kB / 494.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1131, allocations: 15.94 kB / 494.9 MB, free: 4.695 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.0005514/0.1137, allocations: 0.7565 MB / 495.7 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003075/0.114, allocations: 166.5 kB / 495.8 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.114, allocations: 0 / 495.8 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.1142, allocations: 138.7 kB / 496 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.1144, allocations: 8 kB / 496 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.1157, allocations: 1.402 MB / 497.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.116, allocations: 0.6885 MB / 498.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.088e-05/0.116, allocations: 3.984 kB / 498.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.1161, allocations: 15.44 kB / 498.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1161, allocations: 0 / 498.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.1457, allocations: 1.842 MB / 499.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.63, allocations: 13.03 kB / 499.9 MB, free: 15.66 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.305913176001923] Failed to read output from testmodel.py, exit status != 0: 10.73338078499728 10.749142613 10.639804067 Calling exit ...