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.001704/0.001704, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002199/0.002199, allocations: 217 kB / 22.25 MB, free: 5.082 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 8.035 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.00438/0.00438, allocations: 0.5796 MB / 313 MB, free: 2.531 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.001879/0.001879, allocations: 67.89 kB / 435.2 MB, free: 17.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.103, allocations: 53.53 MB / 488.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002871/0.1059, allocations: 1.667 MB / 490.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002709/0.1062, allocations: 99.61 kB / 490.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.1062, allocations: 4 kB / 490.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.793e-05/0.1063, allocations: 11.86 kB / 490.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.1064, allocations: 35.72 kB / 490.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.1065, allocations: 27.95 kB / 490.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.1067, allocations: 111.5 kB / 490.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1068, allocations: 16 kB / 490.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.368e-05/0.1068, allocations: 39.92 kB / 490.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.107, allocations: 55.75 kB / 490.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.107, allocations: 8 kB / 490.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.966e-05/0.107, allocations: 8 kB / 490.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.107, allocations: 15.94 kB / 490.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.707e-05/0.1071, allocations: 47.8 kB / 490.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.1072, allocations: 111.8 kB / 490.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1072, allocations: 4 kB / 490.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1072, allocations: 0 / 490.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1073, allocations: 0 / 490.9 MB, free: 9.234 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.0005009/0.1078, allocations: 318.2 kB / 491.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1078, allocations: 12.03 kB / 491.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.1078, allocations: 38.73 kB / 491.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.1079, allocations: 16.84 kB / 491.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.108, allocations: 134.4 kB / 491.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1081, allocations: 4.562 kB / 491.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.1081, allocations: 16.31 kB / 491.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.1083, allocations: 101.7 kB / 491.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1083, allocations: 0 / 491.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1083, allocations: 0 / 491.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.1083, allocations: 4 kB / 491.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1084, allocations: 63.89 kB / 491.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.109, allocations: 359.7 kB / 492 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1092, allocations: 94.55 kB / 492.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.1092, allocations: 32.84 kB / 492.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.1093, allocations: 8 kB / 492.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.1093, allocations: 30.56 kB / 492.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.985e-06/0.1093, allocations: 4 kB / 492.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00109/0.1104, allocations: 0.5347 MB / 492.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.1104, allocations: 59.34 kB / 492.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.1106, allocations: 126.2 kB / 492.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.1106, allocations: 29.7 kB / 492.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.1107, allocations: 108.3 kB / 493 MB, free: 6.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.026e-05/0.1107, allocations: 59.47 kB / 493.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.1108, allocations: 37.7 kB / 493.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1109, allocations: 322.8 kB / 493.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-05/0.111, allocations: 31.98 kB / 493.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.098e-05/0.1111, allocations: 60.06 kB / 493.5 MB, free: 6.422 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.0007005/0.1118, allocations: 259.7 kB / 493.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1118, allocations: 3.938 kB / 493.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002612/0.112, allocations: 165.9 kB / 493.9 MB, free: 5.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.1121, allocations: 7.984 kB / 493.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1121, allocations: 4 kB / 493.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001284/0.1122, allocations: 28.78 kB / 494 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.078e-05/0.1123, allocations: 20 kB / 494 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.1137, allocations: 1.512 MB / 495.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.1137, allocations: 11.94 kB / 495.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1137, allocations: 8.016 kB / 495.5 MB, free: 4.273 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.0001143/0.1138, allocations: 133.8 kB / 495.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.1139, allocations: 11.91 kB / 495.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.1139, allocations: 16.78 kB / 495.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.1139, allocations: 0 / 495.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1139, allocations: 7.984 kB / 495.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1139, allocations: 0 / 495.7 MB, free: 4.102 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.0006805/0.1146, allocations: 0.5581 MB / 496.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.1146, allocations: 4 kB / 496.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.1147, allocations: 27.92 kB / 496.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.626e-05/0.1148, allocations: 20.84 kB / 496.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1148, allocations: 4 kB / 496.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.1158, allocations: 1.271 MB / 497.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1158, allocations: 4.094 kB / 497.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.1162, allocations: 302.8 kB / 497.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.1162, allocations: 7.984 kB / 497.9 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.1162, allocations: 11.94 kB / 497.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.655e-05/0.1163, allocations: 8.062 kB / 497.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.1163, allocations: 11.97 kB / 497.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1163, allocations: 4 kB / 497.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.909e-05/0.1164, allocations: 99.27 kB / 498 MB, free: 1.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1164, allocations: 0 / 498 MB, free: 1.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000301/0.1167, allocations: 35.94 kB / 498 MB, free: 1.508 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.0007325/0.1174, allocations: 0.835 MB / 498.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.1179, allocations: 226.7 kB / 499.1 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1179, allocations: 0 / 499.1 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.1181, allocations: 166.5 kB / 499.3 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.1184, allocations: 19.97 kB / 499.3 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.1205, allocations: 1.862 MB / 0.4894 GB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.1209, allocations: 0.7046 MB / 0.4901 GB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.434e-05/0.1209, allocations: 17.08 kB / 0.4901 GB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.344e-05/0.121, allocations: 31.42 kB / 0.4901 GB, free: 13.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.121, allocations: 0 / 0.4901 GB, free: 13.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.1517, allocations: 3.151 MB / 0.4932 GB, free: 10.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.77, allocations: 9.562 kB / 0.4932 GB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.52188227499937] Failed to read output from testmodel.py, exit status != 0: 10.878156925999065 11.069642897 10.959440451 Calling exit ...