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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005148/0.005148, allocations: 98.73 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 196 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003062/0.003062, allocations: 0.5535 MB / 291.1 MB, free: 14.14 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.91 kB / 401.9 MB, free: 32.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1028, allocations: 49.6 MB / 451.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.002516/0.1054, allocations: 1.653 MB / 453.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002652/0.1057, allocations: 103.6 kB / 453.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.1057, allocations: 4 kB / 453.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.346e-05/0.1058, allocations: 11.86 kB / 453.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.89e-05/0.1059, allocations: 31.7 kB / 453.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.106, allocations: 23.97 kB / 453.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.1062, allocations: 107.5 kB / 453.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.1063, allocations: 35.97 kB / 453.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.759e-05/0.1064, allocations: 43.78 kB / 453.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.63e-05/0.1065, allocations: 47.78 kB / 453.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.1065, allocations: 8 kB / 453.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.082e-05/0.1065, allocations: 8 kB / 453.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.1066, allocations: 23.92 kB / 453.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.1066, allocations: 43.8 kB / 453.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.1068, allocations: 107.8 kB / 453.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.1068, allocations: 8 kB / 453.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1068, allocations: 4 kB / 453.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1068, allocations: 3.938 kB / 453.8 MB, free: 12.71 MB / 334.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.0004987/0.1073, allocations: 399.2 kB / 454.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1074, allocations: 11.89 kB / 454.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/0.1074, allocations: 46.73 kB / 454.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.1075, allocations: 8.891 kB / 454.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.1076, allocations: 192.2 kB / 454.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1077, allocations: 8.562 kB / 454.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.1077, allocations: 8.375 kB / 454.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1079, allocations: 96.22 kB / 454.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1079, allocations: 0 / 454.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1079, allocations: 4 kB / 454.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1079, allocations: 4 kB / 454.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.108, allocations: 59.89 kB / 454.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.1086, allocations: 388.7 kB / 455 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.1087, allocations: 106.4 kB / 455.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.1088, allocations: 32.86 kB / 455.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.1088, allocations: 4 kB / 455.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1089, allocations: 34.56 kB / 455.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.1089, allocations: 4 kB / 455.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001106/0.11, allocations: 0.6855 MB / 455.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.11, allocations: 55.34 kB / 455.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1101, allocations: 122.9 kB / 456 MB, free: 10.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1102, allocations: 33.7 kB / 456.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.1102, allocations: 100.3 kB / 456.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.1103, allocations: 67.41 kB / 456.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.1103, allocations: 37.7 kB / 456.3 MB, free: 9.934 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1105, allocations: 314.8 kB / 456.6 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.426e-05/0.1105, allocations: 35.98 kB / 456.6 MB, free: 9.582 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.722e-05/0.1106, allocations: 62.55 kB / 456.7 MB, free: 9.512 MB / 334.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.0007228/0.1113, allocations: 417 kB / 457.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1114, allocations: 3.938 kB / 457.1 MB, free: 9.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000243/0.1116, allocations: 166.4 kB / 457.2 MB, free: 8.887 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1116, allocations: 4 kB / 457.2 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1116, allocations: 4 kB / 457.2 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/0.1118, allocations: 28.84 kB / 457.3 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.353e-05/0.1119, allocations: 27.92 kB / 457.3 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.1131, allocations: 1.611 MB / 458.9 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.1132, allocations: 0 / 458.9 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1132, allocations: 7.938 kB / 458.9 MB, free: 7.055 MB / 334.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.0001159/0.1133, allocations: 142.2 kB / 459.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.1133, allocations: 7.953 kB / 459.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.1134, allocations: 16.98 kB / 459.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.1134, allocations: 3.984 kB / 459.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1134, allocations: 256 / 459.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1134, allocations: 0 / 459.1 MB, free: 6.883 MB / 334.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.0006284/0.114, allocations: 0.6058 MB / 459.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.114, allocations: 4 kB / 459.7 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.1142, allocations: 27.98 kB / 459.7 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.772e-05/0.1142, allocations: 20.78 kB / 459.7 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1143, allocations: 8 kB / 459.7 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008855/0.1151, allocations: 1.363 MB / 461.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1152, allocations: 4.094 kB / 461.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.1155, allocations: 309.4 kB / 461.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.1155, allocations: 85.09 kB / 461.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.1156, allocations: 7.938 kB / 461.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.1156, allocations: 8.062 kB / 461.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.1157, allocations: 11.92 kB / 461.5 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.1157, allocations: 8 kB / 461.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.535e-05/0.1158, allocations: 99.2 kB / 461.6 MB, free: 4.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1158, allocations: 0 / 461.6 MB, free: 4.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.1161, allocations: 32 kB / 461.7 MB, free: 4.023 MB / 334.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.0006706/0.1167, allocations: 0.8327 MB / 462.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004897/0.1172, allocations: 234.7 kB / 462.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1173, allocations: 0 / 462.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.1175, allocations: 166.6 kB / 462.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.1178, allocations: 20.52 kB / 462.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.1199, allocations: 1.849 MB / 464.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.1202, allocations: 0.7046 MB / 465.5 MB, free: 24 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.978e-05/0.1202, allocations: 17.08 kB / 465.5 MB, free: 4 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.1203, allocations: 31.5 kB / 465.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1203, allocations: 3.938 kB / 465.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04075/0.1611, allocations: 3.059 MB / 468.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.455/9.616, allocations: 11.62 kB / 468.6 MB, free: 13.14 MB / 350.1 MB (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)