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.001332/0.001332, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002314/0.002314, allocations: 210.5 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.738 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.003345/0.003345, allocations: 0.5798 MB / 313 MB, free: 2.281 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.002075/0.002075, allocations: 55.91 kB / 435.1 MB, free: 16.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1069, allocations: 53.54 MB / 488.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001672/0.1085, allocations: 0.5001 MB / 489.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001508/0.1087, allocations: 27.84 kB / 489.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.497e-05/0.1087, allocations: 4 kB / 489.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.1087, allocations: 0 / 489.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.696e-05/0.1088, allocations: 7.938 kB / 489.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.1089, allocations: 3.984 kB / 489.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.502e-05/0.1089, allocations: 15.98 kB / 489.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.423e-05/0.109, allocations: 8.406 kB / 489.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.284e-05/0.109, allocations: 11.92 kB / 489.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.1091, allocations: 3.984 kB / 489.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1091, allocations: 4 kB / 489.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.1091, allocations: 0 / 489.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.1091, allocations: 15.92 kB / 489.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.1091, allocations: 7.938 kB / 489.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.625e-05/0.1092, allocations: 20.12 kB / 489.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1092, allocations: 0 / 489.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1092, allocations: 0 / 489.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1092, allocations: 0 / 489.3 MB, free: 10.61 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.0003928/0.1096, allocations: 262.4 kB / 489.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1096, allocations: 8.031 kB / 489.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.1097, allocations: 30.75 kB / 489.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.1097, allocations: 4.938 kB / 489.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.1099, allocations: 118.5 kB / 489.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1099, allocations: 4.375 kB / 489.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.1099, allocations: 8.359 kB / 489.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.11, allocations: 50.19 kB / 489.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.11, allocations: 3.938 kB / 489.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.11, allocations: 0 / 489.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.11, allocations: 0 / 489.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.202e-05/0.1101, allocations: 15.92 kB / 489.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.1104, allocations: 224 kB / 490 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.1105, allocations: 50.5 kB / 490 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.1105, allocations: 24.97 kB / 490.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.1105, allocations: 0 / 490.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.1106, allocations: 38.5 kB / 490.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.1106, allocations: 0 / 490.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007052/0.1113, allocations: 356.4 kB / 490.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.1113, allocations: 55.41 kB / 490.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.322e-05/0.1114, allocations: 97.86 kB / 490.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1114, allocations: 29.69 kB / 490.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.1115, allocations: 88.12 kB / 490.7 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.1115, allocations: 31.75 kB / 490.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.1115, allocations: 29.64 kB / 490.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1117, allocations: 318.8 kB / 491.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.591e-05/0.1117, allocations: 19.98 kB / 491.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.22e-05/0.1118, allocations: 25.72 kB / 491.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.112, allocations: 89.62 kB / 491.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.112, allocations: 0 / 491.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000172/0.1122, allocations: 98.47 kB / 491.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1122, allocations: 4 kB / 491.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1122, allocations: 0 / 491.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001135/0.1123, allocations: 28.78 kB / 491.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/0.1124, allocations: 11.98 kB / 491.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.1135, allocations: 1.284 MB / 492.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.1135, allocations: 0.5 kB / 492.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.1135, allocations: 0 / 492.6 MB, free: 6.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 0.0001705/0.1137, allocations: 121.7 kB / 492.8 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.1137, allocations: 12.02 kB / 492.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.1138, allocations: 8.062 kB / 492.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1138, allocations: 11.92 kB / 492.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1138, allocations: 0 / 492.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1138, allocations: 4 kB / 492.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004741/0.1143, allocations: 328.9 kB / 493.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1143, allocations: 4 kB / 493.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.723e-05/0.1143, allocations: 7.938 kB / 493.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-05/0.1144, allocations: 20.84 kB / 493.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.1144, allocations: 12.09 kB / 493.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.1154, allocations: 1.287 MB / 494.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1154, allocations: 0 / 494.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.1157, allocations: 230.8 kB / 494.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.1157, allocations: 0 / 494.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.1157, allocations: 7.938 kB / 494.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.632e-05/0.1158, allocations: 0 / 494.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.1158, allocations: 12.11 kB / 494.7 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.1158, allocations: 8 kB / 494.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.903e-05/0.1158, allocations: 75.28 kB / 494.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1158, allocations: 0 / 494.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.1161, allocations: 16.09 kB / 494.8 MB, free: 4.496 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.0005889/0.1167, allocations: 0.7547 MB / 495.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003306/0.117, allocations: 174.6 kB / 495.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.117, allocations: 4.062 kB / 495.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.1172, allocations: 142.8 kB / 495.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.1175, allocations: 4 kB / 495.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.1189, allocations: 1.401 MB / 497.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.467e-05/0.1189, allocations: 71.33 kB / 497.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.092e-05/0.119, allocations: 4.188 kB / 497.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.119, allocations: 15.44 kB / 497.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.119, allocations: 3.938 kB / 497.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.1509, allocations: 2.236 MB / 499.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.67, allocations: 3.938 kB / 499.6 MB, free: 15.68 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.340391403995454] Failed to read output from testmodel.py, exit status != 0: 11.77341594407335 11.789487478 11.677153194 Calling exit ...