Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.001297/0.001297, 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.001414/0.001414, allocations: 216.1 kB / 22.26 MB, free: 5.078 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 8.035 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.002792/0.002792, allocations: 0.5875 MB / 313 MB, free: 2.531 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.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 63.89 kB / 435.2 MB, free: 17.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1029, allocations: 53.53 MB / 488.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.00174/0.1046, allocations: 0.5155 MB / 489.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002041/0.1048, allocations: 28.31 kB / 489.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.1049, allocations: 0 / 489.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.1049, allocations: 4 kB / 489.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.322e-05/0.1049, allocations: 3.938 kB / 489.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.1051, allocations: 7.984 kB / 489.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.871e-05/0.1051, allocations: 15.98 kB / 489.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.14e-05/0.1052, allocations: 4 kB / 489.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.366e-05/0.1052, allocations: 7.938 kB / 489.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.045e-05/0.1053, allocations: 15.92 kB / 489.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.1053, allocations: 0 / 489.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-06/0.1053, allocations: 0 / 489.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.1053, allocations: 11.97 kB / 489.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/0.1054, allocations: 11.94 kB / 489.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.864e-05/0.1054, allocations: 16.14 kB / 489.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1054, allocations: 0 / 489.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1054, allocations: 0 / 489.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1054, allocations: 4 kB / 489.3 MB, free: 10.86 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.0004242/0.1059, allocations: 258.4 kB / 489.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1059, allocations: 8.031 kB / 489.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.777e-05/0.106, allocations: 30.75 kB / 489.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.106, allocations: 4.938 kB / 489.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1061, allocations: 118.5 kB / 489.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1061, allocations: 8.375 kB / 489.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1061, allocations: 8.359 kB / 489.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.1063, allocations: 42.25 kB / 489.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1063, allocations: 3.938 kB / 489.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1063, allocations: 4 kB / 489.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1063, allocations: 0 / 489.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.185e-05/0.1063, allocations: 11.98 kB / 489.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.1067, allocations: 227.9 kB / 490.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.1068, allocations: 66.53 kB / 490.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.1068, allocations: 16.98 kB / 490.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.1068, allocations: 0 / 490.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.1068, allocations: 34.56 kB / 490.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.1068, allocations: 0 / 490.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007692/0.1076, allocations: 352 kB / 490.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.1077, allocations: 51.41 kB / 490.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.1078, allocations: 101.8 kB / 490.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.1078, allocations: 33.58 kB / 490.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.1078, allocations: 84.14 kB / 490.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.1079, allocations: 31.67 kB / 490.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.1079, allocations: 29.72 kB / 490.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1081, allocations: 322.8 kB / 491.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.078e-05/0.1081, allocations: 12 kB / 491.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.637e-05/0.1082, allocations: 33.7 kB / 491.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.1085, allocations: 93.81 kB / 491.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1085, allocations: 7.938 kB / 491.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000167/0.1086, allocations: 94.47 kB / 491.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1086, allocations: 4 kB / 491.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.1086, allocations: 0 / 491.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001198/0.1088, allocations: 29.66 kB / 491.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.431e-05/0.1088, allocations: 8 kB / 491.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.1099, allocations: 1.291 MB / 492.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.11, allocations: 0 / 492.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.11, allocations: 4.031 kB / 492.7 MB, free: 7.09 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.0001819/0.1101, allocations: 117.8 kB / 492.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.1102, allocations: 7.953 kB / 492.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.1102, allocations: 8.062 kB / 492.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.1102, allocations: 0 / 492.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1102, allocations: 4 kB / 492.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.1102, allocations: 3.984 kB / 492.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.1106, allocations: 332.9 kB / 493.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.1107, allocations: 7.984 kB / 493.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.357e-05/0.1107, allocations: 11.88 kB / 493.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-05/0.1108, allocations: 20.84 kB / 493.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1108, allocations: 4 kB / 493.2 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.1119, allocations: 1.287 MB / 494.5 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1119, allocations: 0 / 494.5 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.1122, allocations: 234.9 kB / 494.8 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-06/0.1122, allocations: 4.031 kB / 494.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.1122, allocations: 11.94 kB / 494.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.1123, allocations: 8 kB / 494.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.1123, allocations: 7.984 kB / 494.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1123, allocations: 160 / 494.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.948e-05/0.1123, allocations: 91.22 kB / 494.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1123, allocations: 0 / 494.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.1126, allocations: 8 kB / 494.9 MB, free: 4.719 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.0006065/0.1132, allocations: 0.7548 MB / 495.6 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.1135, allocations: 166.5 kB / 495.8 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1135, allocations: 0 / 495.8 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.1137, allocations: 138.6 kB / 495.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.1139, allocations: 12.23 kB / 495.9 MB, free: 3.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.1153, allocations: 1.406 MB / 497.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.1156, allocations: 0.6885 MB / 498 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.98e-05/0.1156, allocations: 0 / 498 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.1156, allocations: 15.44 kB / 498.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1156, allocations: 0 / 498.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.1459, allocations: 1.837 MB / 499.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.7, allocations: 10.95 kB / 499.9 MB, free: 15.68 MB / 366.1 MB " [Timeout remaining time 649] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial_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_TwoMassesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.28692309699909] Failed to read output from testmodel.py, exit status != 0: 10.80109780100247 10.817511541 10.709030994 Calling exit ...