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.001406/0.001406, allocations: 101.7 kB / 16.45 MB, free: 6.449 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.001527/0.001527, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.434/1.434, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.003263/0.003263, allocations: 0.5688 MB / 309.4 MB, free: 3.68 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.001898/0.001898, allocations: 63.91 kB / 430 MB, free: 18.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.1007, allocations: 53.48 MB / 483.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.00298/0.1037, allocations: 1.678 MB / 485.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002639/0.104, allocations: 99.61 kB / 485.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.104, allocations: 4 kB / 485.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.278e-05/0.1041, allocations: 11.86 kB / 485.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.1042, allocations: 35.7 kB / 485.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.1043, allocations: 23.97 kB / 485.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.1045, allocations: 115.5 kB / 485.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1046, allocations: 16 kB / 485.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.342e-05/0.1047, allocations: 47.89 kB / 485.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.846e-05/0.1048, allocations: 43.78 kB / 485.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.1048, allocations: 8 kB / 485.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.131e-05/0.1048, allocations: 8 kB / 485.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.699e-05/0.1049, allocations: 19.94 kB / 485.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.1049, allocations: 47.8 kB / 485.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.1051, allocations: 119.7 kB / 485.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1051, allocations: 0 / 485.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1051, allocations: 0 / 485.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1051, allocations: 0 / 485.7 MB, free: 10.7 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.0005314/0.1056, allocations: 399.3 kB / 486.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1057, allocations: 8.031 kB / 486.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.717e-05/0.1057, allocations: 42.73 kB / 486.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.1058, allocations: 16.84 kB / 486.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.1059, allocations: 184.3 kB / 486.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.106, allocations: 8.562 kB / 486.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.106, allocations: 20.27 kB / 486.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.1062, allocations: 85.8 kB / 486.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1062, allocations: 3.984 kB / 486.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.1062, allocations: 12 kB / 486.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1062, allocations: 0 / 486.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.1063, allocations: 59.91 kB / 486.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.1069, allocations: 396.6 kB / 486.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1071, allocations: 90.55 kB / 487 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.616e-05/0.1071, allocations: 40.78 kB / 487.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.1072, allocations: 4 kB / 487.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1072, allocations: 34.5 kB / 487.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.1072, allocations: 4 kB / 487.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001154/0.1083, allocations: 0.6848 MB / 487.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.1084, allocations: 51.41 kB / 487.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.1085, allocations: 117.8 kB / 488 MB, free: 8.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.1085, allocations: 29.7 kB / 488 MB, free: 8.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.1086, allocations: 108.3 kB / 488.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.1087, allocations: 63.47 kB / 488.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/0.1087, allocations: 33.7 kB / 488.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1089, allocations: 322.8 kB / 488.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.485e-05/0.1089, allocations: 35.98 kB / 488.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.203e-05/0.109, allocations: 57 kB / 488.6 MB, free: 7.512 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.0008396/0.1099, allocations: 404.6 kB / 489 MB, free: 7.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1099, allocations: 3.938 kB / 489 MB, free: 7.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002966/0.1102, allocations: 174.1 kB / 489.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1102, allocations: 4 kB / 489.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1102, allocations: 0 / 489.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001364/0.1103, allocations: 28.84 kB / 489.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.83e-05/0.1104, allocations: 27.92 kB / 489.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.112, allocations: 1.616 MB / 490.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.418e-05/0.1121, allocations: 11.97 kB / 490.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1121, allocations: 4 kB / 490.9 MB, free: 5.047 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.0001549/0.1122, allocations: 137.8 kB / 491 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.1123, allocations: 11.91 kB / 491 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.884e-05/0.1123, allocations: 16.84 kB / 491 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1123, allocations: 4 kB / 491 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1123, allocations: 0 / 491 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1123, allocations: 3.984 kB / 491 MB, free: 4.871 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.0007919/0.1131, allocations: 0.5942 MB / 491.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1131, allocations: 0 / 491.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.1132, allocations: 27.94 kB / 491.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-05/0.1133, allocations: 20.84 kB / 491.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1133, allocations: 4 kB / 491.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.1144, allocations: 1.372 MB / 493 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.1144, allocations: 8.078 kB / 493.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.1148, allocations: 297.6 kB / 493.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.1148, allocations: 89.06 kB / 493.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1148, allocations: 3.938 kB / 493.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.1149, allocations: 16.05 kB / 493.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.1149, allocations: 4 kB / 493.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.115, allocations: 11.98 kB / 493.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.035e-05/0.115, allocations: 96.81 kB / 493.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.115, allocations: 0 / 493.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003009/0.1153, allocations: 28 kB / 493.6 MB, free: 2.035 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.0007299/0.116, allocations: 0.8367 MB / 494.4 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004554/0.1165, allocations: 226.6 kB / 494.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1165, allocations: 0 / 494.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.1167, allocations: 166.6 kB / 494.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1171, allocations: 19.97 kB / 494.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.1192, allocations: 1.87 MB / 496.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.1196, allocations: 0.7085 MB / 497.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.244e-05/0.1197, allocations: 9.094 kB / 497.4 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.821e-05/0.1197, allocations: 35.42 kB / 497.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1197, allocations: 0 / 497.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03726/0.157, allocations: 3.075 MB / 0.4888 GB, free: 11.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.58/9.737, allocations: 4.594 kB / 0.4888 GB, free: 11.13 MB / 366.1 MB " [Timeout remaining time 650] (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: 12.252282574991114] Failed to read output from testmodel.py, exit status != 0: 9.818076541996561 9.833453802 9.725356566 Calling exit ...