Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.001914/0.001914, 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.002609/0.002609, allocations: 214.2 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.789 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.00498/0.00498, allocations: 0.5748 MB / 313 MB, free: 2.32 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.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003544/0.003544, allocations: 67.91 kB / 435.1 MB, free: 16.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1066, allocations: 53.53 MB / 488.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.003964/0.1106, allocations: 1.62 MB / 490.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003963/0.111, allocations: 99.69 kB / 490.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.1111, allocations: 0 / 490.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.13e-05/0.1112, allocations: 15.8 kB / 490.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.1114, allocations: 27.77 kB / 490.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.1116, allocations: 27.91 kB / 490.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.1118, allocations: 103.5 kB / 490.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.1119, allocations: 23.98 kB / 490.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.112, allocations: 47.84 kB / 490.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.1122, allocations: 39.78 kB / 490.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.1122, allocations: 8 kB / 490.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.81e-05/0.1122, allocations: 11.94 kB / 490.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.1123, allocations: 19.92 kB / 490.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.857e-05/0.1123, allocations: 39.86 kB / 490.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.1125, allocations: 111.8 kB / 490.8 MB, free: 9.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1125, allocations: 4 kB / 490.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1125, allocations: 0 / 490.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1125, allocations: 7.938 kB / 490.8 MB, free: 9.074 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006629/0.1132, allocations: 318.2 kB / 491.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.1133, allocations: 8.031 kB / 491.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.262e-05/0.1133, allocations: 42.73 kB / 491.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.1134, allocations: 12.84 kB / 491.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.1136, allocations: 130.4 kB / 491.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.1136, allocations: 8.562 kB / 491.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.1136, allocations: 12.33 kB / 491.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.1139, allocations: 93.78 kB / 491.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1139, allocations: 4 kB / 491.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.1139, allocations: 8 kB / 491.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1139, allocations: 0 / 491.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.114, allocations: 55.97 kB / 491.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006372/0.1147, allocations: 339.8 kB / 491.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.1149, allocations: 110.4 kB / 491.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.534e-05/0.1149, allocations: 28.86 kB / 492 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.115, allocations: 0 / 492 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.115, allocations: 42.55 kB / 492 MB, free: 7.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.115, allocations: 4 kB / 492 MB, free: 7.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001157/0.1161, allocations: 0.5263 MB / 492.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.1162, allocations: 55.34 kB / 492.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.1163, allocations: 121.8 kB / 492.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.1164, allocations: 33.7 kB / 492.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.1165, allocations: 100.3 kB / 492.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.052e-05/0.1165, allocations: 63.47 kB / 492.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.729e-05/0.1166, allocations: 41.7 kB / 493 MB, free: 6.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1167, allocations: 322.8 kB / 493.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.656e-05/0.1168, allocations: 35.98 kB / 493.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.365e-05/0.1169, allocations: 66.48 kB / 493.4 MB, free: 6.281 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007486/0.1177, allocations: 250 kB / 493.6 MB, free: 6.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1177, allocations: 7.875 kB / 493.6 MB, free: 6.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002747/0.1179, allocations: 162.4 kB / 493.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1179, allocations: 8 kB / 493.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1179, allocations: 0 / 493.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.1181, allocations: 28.84 kB / 493.8 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1182, allocations: 27.92 kB / 493.8 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.1196, allocations: 1.5 MB / 495.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.1197, allocations: 8.062 kB / 495.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1197, allocations: 12.2 kB / 495.4 MB, free: 4.148 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: mass1.v = $START.mass1.v mass2.s = $START.mass2.s. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.1198, allocations: 129.8 kB / 495.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.1199, allocations: 15.91 kB / 495.5 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.1199, allocations: 16.78 kB / 495.5 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1199, allocations: 4 kB / 495.5 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1199, allocations: 3.984 kB / 495.5 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1199, allocations: 0 / 495.5 MB, free: 3.977 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006858/0.1206, allocations: 463.1 kB / 496 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1206, allocations: 0 / 496 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.1207, allocations: 27.98 kB / 496 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-05/0.1208, allocations: 20.8 kB / 496 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1208, allocations: 4 kB / 496 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.122, allocations: 1.271 MB / 497.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.122, allocations: 7.969 kB / 497.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.1224, allocations: 294.8 kB / 497.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.1225, allocations: 11.98 kB / 497.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.1225, allocations: 7.938 kB / 497.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.1226, allocations: 4 kB / 497.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.1226, allocations: 15.97 kB / 497.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1226, allocations: 4 kB / 497.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.31e-05/0.1227, allocations: 108.9 kB / 497.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1227, allocations: 0 / 497.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003228/0.123, allocations: 28 kB / 497.8 MB, free: 1.523 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * 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 (15): * Single equations (assignments): 14 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000757/0.1238, allocations: 0.8328 MB / 498.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004412/0.1242, allocations: 214.6 kB / 498.8 MB, free: 436 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1242, allocations: 128 / 498.8 MB, free: 436 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.1244, allocations: 170.6 kB / 499 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.1248, allocations: 24.09 kB / 499 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.1271, allocations: 1.868 MB / 0.4891 GB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.515e-05/0.1272, allocations: 88.69 kB / 0.4892 GB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.78e-05/0.1273, allocations: 9.078 kB / 0.4892 GB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.1273, allocations: 35.44 kB / 0.4893 GB, free: 14.09 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1273, allocations: 3.938 kB / 0.4893 GB, free: 14.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/0.1612, allocations: 3.574 MB / 0.4928 GB, free: 10.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.04, allocations: 11.03 kB / 0.4928 GB, free: 10.72 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.026125845964998] Failed to read output from testmodel.py, exit status != 0: 12.154204006772488 12.418554780000001 12.301670092 Calling exit ...