Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.001739/0.001739, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002143/0.002143, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.973 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.00424/0.00424, allocations: 0.5868 MB / 313 MB, free: 2.504 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.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002612/0.002612, allocations: 59.91 kB / 435.2 MB, free: 16.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0991/0.1017, allocations: 53.53 MB / 488.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.00275/0.1045, allocations: 1.679 MB / 490.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002746/0.1047, allocations: 103.6 kB / 490.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.1048, allocations: 4 kB / 490.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.474e-05/0.1048, allocations: 11.86 kB / 490.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.1049, allocations: 27.72 kB / 490.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.1051, allocations: 27.95 kB / 490.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.1052, allocations: 111.4 kB / 490.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1053, allocations: 23.98 kB / 490.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.523e-05/0.1054, allocations: 39.86 kB / 490.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.869e-05/0.1055, allocations: 51.83 kB / 490.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.1055, allocations: 8 kB / 490.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.926e-05/0.1056, allocations: 8 kB / 490.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.1056, allocations: 23.92 kB / 490.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/0.1057, allocations: 47.73 kB / 490.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.1058, allocations: 111.8 kB / 491 MB, free: 9.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1058, allocations: 0 / 491 MB, free: 9.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1058, allocations: 0 / 491 MB, free: 9.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1058, allocations: 0 / 491 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.000517/0.1063, allocations: 326.2 kB / 491.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1064, allocations: 8.031 kB / 491.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.279e-05/0.1064, allocations: 46.73 kB / 491.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.1065, allocations: 12.84 kB / 491.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.1066, allocations: 122.5 kB / 491.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.1067, allocations: 8.562 kB / 491.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.1067, allocations: 16.33 kB / 491.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.1069, allocations: 95.41 kB / 491.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1069, allocations: 4 kB / 491.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1069, allocations: 7.938 kB / 491.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1069, allocations: 4 kB / 491.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.107, allocations: 55.97 kB / 491.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.1075, allocations: 355.7 kB / 492 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.1077, allocations: 94.55 kB / 492.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.881e-05/0.1078, allocations: 40.84 kB / 492.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.1078, allocations: 0 / 492.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1078, allocations: 30.56 kB / 492.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.001e-06/0.1078, allocations: 3.938 kB / 492.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001036/0.1089, allocations: 0.5383 MB / 492.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.1089, allocations: 55.41 kB / 492.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.109, allocations: 130.1 kB / 492.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.109, allocations: 25.7 kB / 492.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/0.1091, allocations: 108.3 kB / 493 MB, free: 6.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.1092, allocations: 59.48 kB / 493.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.1092, allocations: 29.72 kB / 493.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1094, allocations: 322.8 kB / 493.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.447e-05/0.1094, allocations: 43.92 kB / 493.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.989e-05/0.1095, allocations: 58.55 kB / 493.5 MB, free: 6.266 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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.11, allocations: 224.4 kB / 493.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.11, allocations: 3.938 kB / 493.7 MB, free: 6.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002079/0.1102, allocations: 141.8 kB / 493.9 MB, free: 5.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1103, allocations: 8 kB / 493.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1103, allocations: 0 / 493.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1103, allocations: 3.984 kB / 493.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.1104, allocations: 39.92 kB / 493.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1105, allocations: 3.938 kB / 493.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.405e-05/0.1105, allocations: 4 kB / 493.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1105, allocations: 4 kB / 493.9 MB, free: 5.832 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.a = $START.mass2.a. 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.1106, allocations: 133.8 kB / 494.1 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.1107, allocations: 7.953 kB / 494.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.312e-05/0.1107, allocations: 16.78 kB / 494.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1107, allocations: 0 / 494.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1107, allocations: 4 kB / 494.1 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.1107, allocations: 3.938 kB / 494.1 MB, free: 5.656 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.0007135/0.1114, allocations: 0.562 MB / 494.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1114, allocations: 0 / 494.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.1116, allocations: 27.98 kB / 494.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/0.1117, allocations: 20.8 kB / 494.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.1117, allocations: 11.98 kB / 494.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.1128, allocations: 1.264 MB / 496 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1128, allocations: 8.094 kB / 496 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.1131, allocations: 294.8 kB / 496.3 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.1131, allocations: 15.97 kB / 496.3 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.1132, allocations: 4.062 kB / 496.3 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.404e-05/0.1132, allocations: 12.06 kB / 496.3 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.1133, allocations: 15.86 kB / 496.3 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1133, allocations: 4 kB / 496.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.155e-05/0.1134, allocations: 99.27 kB / 496.4 MB, free: 3.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1134, allocations: 0 / 496.4 MB, free: 3.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1136, allocations: 28 kB / 496.5 MB, free: 3.066 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.0006924/0.1143, allocations: 0.8367 MB / 497.3 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.1145, allocations: 96.03 kB / 497.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1145, allocations: 0 / 497.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.1148, allocations: 175.7 kB / 497.6 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.1151, allocations: 23.92 kB / 497.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.1171, allocations: 1.783 MB / 499.4 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.1174, allocations: 0.7161 MB / 0.4884 GB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.075e-05/0.1175, allocations: 17.06 kB / 0.4884 GB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.1175, allocations: 27.44 kB / 0.4884 GB, free: 15.21 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1175, allocations: 0 / 0.4884 GB, free: 15.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03178/0.1493, allocations: 3.09 MB / 0.4914 GB, free: 12.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.72, allocations: 7.25 kB / 0.4914 GB, free: 12.3 MB / 366.1 MB " [Timeout remaining time 649] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState_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_TwoMassesFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.698621340998216] Failed to read output from testmodel.py, exit status != 0: 10.829000255998835 11.039333169 10.735594647 Calling exit ...