Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.001291/0.001291, allocations: 107.1 kB / 16.45 MB, free: 5.906 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.001298/0.001298, allocations: 209.6 kB / 19.42 MB, free: 3.605 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.383/1.383, allocations: 230.6 MB / 252.8 MB, free: 8.996 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.002831/0.002831, allocations: 0.5672 MB / 309.4 MB, free: 3.703 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.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 63.89 kB / 430 MB, free: 18.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09341/0.09522, allocations: 53.49 MB / 483.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.003092/0.09832, allocations: 1.662 MB / 485.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003251/0.09864, allocations: 103.6 kB / 485.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.109e-05/0.09871, allocations: 0 / 485.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.385e-05/0.09877, allocations: 15.86 kB / 485.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.09889, allocations: 31.72 kB / 485.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.09902, allocations: 19.97 kB / 485.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.09918, allocations: 111.5 kB / 485.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.0993, allocations: 27.98 kB / 485.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.928e-05/0.09938, allocations: 39.92 kB / 485.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.09948, allocations: 47.77 kB / 485.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.09951, allocations: 8 kB / 485.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.029e-05/0.09953, allocations: 12 kB / 485.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.09956, allocations: 15.92 kB / 485.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.521e-05/0.09962, allocations: 51.8 kB / 485.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.09979, allocations: 111.8 kB / 485.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.09979, allocations: 0 / 485.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09979, allocations: 0 / 485.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.0998, allocations: 3.938 kB / 485.7 MB, free: 10.75 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.0005495/0.1004, allocations: 399.3 kB / 486.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1004, allocations: 8.031 kB / 486.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.1004, allocations: 38.75 kB / 486.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.1005, allocations: 20.77 kB / 486.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.1007, allocations: 184.3 kB / 486.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1007, allocations: 4.562 kB / 486.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.1007, allocations: 16.33 kB / 486.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.1009, allocations: 97.72 kB / 486.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.1009, allocations: 4 kB / 486.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.1009, allocations: 4 kB / 486.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1009, allocations: 0 / 486.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1011, allocations: 59.91 kB / 486.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.1016, allocations: 388.6 kB / 486.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.1018, allocations: 102.5 kB / 487 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.383e-05/0.1019, allocations: 32.84 kB / 487.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.1019, allocations: 4 kB / 487.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.1019, allocations: 34.56 kB / 487.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.1019, allocations: 0 / 487.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001166/0.1031, allocations: 0.6929 MB / 487.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.1031, allocations: 51.41 kB / 487.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.1032, allocations: 121.8 kB / 488 MB, free: 8.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.1033, allocations: 25.7 kB / 488 MB, free: 8.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.1034, allocations: 104.3 kB / 488.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.1034, allocations: 63.47 kB / 488.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.1035, allocations: 33.72 kB / 488.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1036, allocations: 322.8 kB / 488.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.963e-05/0.1037, allocations: 35.98 kB / 488.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.45e-05/0.1037, allocations: 60.8 kB / 488.6 MB, free: 7.559 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.0007966/0.1045, allocations: 412.6 kB / 489 MB, free: 7.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1045, allocations: 3.938 kB / 489 MB, free: 7.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002665/0.1048, allocations: 154.4 kB / 489.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1048, allocations: 7.984 kB / 489.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1048, allocations: 0 / 489.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001257/0.105, allocations: 36.81 kB / 489.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.805e-05/0.1051, allocations: 24 kB / 489.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.1064, allocations: 1.607 MB / 490.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.1065, allocations: 11.97 kB / 490.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1065, allocations: 7.938 kB / 490.8 MB, free: 5.098 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.0001259/0.1066, allocations: 139 kB / 491 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.1066, allocations: 11.97 kB / 491 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.1067, allocations: 20.83 kB / 491 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1067, allocations: 4.141 kB / 491 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1067, allocations: 0 / 491 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1067, allocations: 3.984 kB / 491 MB, free: 4.922 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.0007217/0.1074, allocations: 0.5914 MB / 491.6 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1074, allocations: 4.031 kB / 491.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.1075, allocations: 35.92 kB / 491.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.305e-05/0.1076, allocations: 20.84 kB / 491.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1076, allocations: 4 kB / 491.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.1087, allocations: 1.367 MB / 493 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.1087, allocations: 7.969 kB / 493 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.1091, allocations: 298.9 kB / 493.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.1091, allocations: 85.05 kB / 493.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.1092, allocations: 7.938 kB / 493.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.976e-05/0.1092, allocations: 4 kB / 493.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.1093, allocations: 11.98 kB / 493.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.1093, allocations: 12.06 kB / 493.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.045e-05/0.1093, allocations: 91.27 kB / 493.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1093, allocations: 0 / 493.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.1097, allocations: 32 kB / 493.6 MB, free: 2.082 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.0007332/0.1104, allocations: 0.8358 MB / 494.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004567/0.1109, allocations: 226.5 kB / 494.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.1109, allocations: 0 / 494.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.1111, allocations: 170.7 kB / 494.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1114, allocations: 25.61 kB / 494.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.1135, allocations: 1.857 MB / 496.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.1139, allocations: 0.7046 MB / 497.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.287e-05/0.1139, allocations: 9.078 kB / 497.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.114, allocations: 31.44 kB / 497.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.114, allocations: 3.938 kB / 497.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.1435, allocations: 3.062 MB / 0.4888 GB, free: 11.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.549/9.693, allocations: 11.27 kB / 0.4888 GB, free: 11.18 MB / 366.1 MB " [Timeout remaining time 650] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial_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_ConsistentInitialization_Mechanical_TwoMassesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.145941220005625] Failed to read output from testmodel.py, exit status != 0: 9.774085594995995 9.798123807 9.694621146 Calling exit ...