Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.0008063/0.0008063, allocations: 72.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008094/0.0008094, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.9285/0.9285, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.001986/0.001986, allocations: 416.3 kB / 259.6 MB, free: 12.84 MB / 250.7 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.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 3.938 kB / 381.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.754e-05, allocations: 2.281 kB / 381.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001851/0.001879, allocations: 0.5124 MB / 382.3 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002004/0.002079, allocations: 23.89 kB / 382.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.002108, allocations: 4 kB / 382.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.002128, allocations: 7.875 kB / 382.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.128e-05/0.00216, allocations: 4 kB / 382.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.0023, allocations: 0 / 382.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.835e-05/0.002388, allocations: 23.97 kB / 382.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.958e-05/0.002448, allocations: 4 kB / 382.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.037e-05/0.002508, allocations: 15.92 kB / 382.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.881e-05/0.002597, allocations: 7.984 kB / 382.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.002631, allocations: 0 / 382.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.73e-05/0.002648, allocations: 0 / 382.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.002676, allocations: 7.984 kB / 382.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.002702, allocations: 19.92 kB / 382.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.161e-05/0.002784, allocations: 3.984 kB / 382.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.002786, allocations: 4 kB / 382.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.002788, allocations: 0 / 382.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.002793, allocations: 0 / 382.4 MB, free: 14.29 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004523/0.003246, allocations: 262.2 kB / 382.7 MB, free: 14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.003306, allocations: 8.031 kB / 382.7 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.003352, allocations: 38.75 kB / 382.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.003381, allocations: 0.9375 kB / 382.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.0035, allocations: 113.8 kB / 382.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.003514, allocations: 4.375 kB / 382.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.003546, allocations: 8.375 kB / 382.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.003658, allocations: 42.25 kB / 382.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.003672, allocations: 192 / 382.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.003683, allocations: 384 / 382.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.003692, allocations: 4.125 kB / 382.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.974e-05/0.003742, allocations: 15.98 kB / 382.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.004091, allocations: 224 kB / 383.1 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.004216, allocations: 46.56 kB / 383.2 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.004248, allocations: 16.98 kB / 383.2 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.004263, allocations: 11.98 kB / 383.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.00429, allocations: 38.44 kB / 383.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.004292, allocations: 0 / 383.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007471/0.005039, allocations: 359.9 kB / 383.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.005086, allocations: 51.41 kB / 383.6 MB, free: 12.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/0.00516, allocations: 93.86 kB / 383.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.005177, allocations: 33.64 kB / 383.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.005217, allocations: 84.12 kB / 383.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.005257, allocations: 39.67 kB / 383.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.005295, allocations: 21.72 kB / 383.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.005408, allocations: 326.8 kB / 384.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/0.005437, allocations: 12.62 kB / 384.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.005477, allocations: 29.7 kB / 384.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.005715, allocations: 93.69 kB / 384.3 MB, free: 12.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005717, allocations: 3.938 kB / 384.3 MB, free: 12.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000147/0.005864, allocations: 94.47 kB / 384.4 MB, free: 12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.005883, allocations: 4 kB / 384.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.005893, allocations: 4 kB / 384.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.673e-05/0.005989, allocations: 20.84 kB / 384.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.661e-05/0.006046, allocations: 16 kB / 384.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008223/0.006868, allocations: 1.284 MB / 385.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.53e-05/0.006884, allocations: 0 / 385.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.006889, allocations: 4.031 kB / 385.8 MB, free: 10.54 MB / 314.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: x1 = 0.0 v1 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.007028, allocations: 115.8 kB / 385.9 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.007047, allocations: 11.95 kB / 385.9 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.007066, allocations: 8.125 kB / 385.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.007069, allocations: 4 kB / 385.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.007073, allocations: 0 / 385.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.007079, allocations: 3.984 kB / 385.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.007427, allocations: 337.2 kB / 386.2 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.007429, allocations: 0 / 386.2 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.007468, allocations: 11.94 kB / 386.3 MB, free: 9.992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.256e-05/0.00752, allocations: 16.84 kB / 386.3 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.007531, allocations: 12.09 kB / 386.3 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006532/0.008184, allocations: 1.287 MB / 387.6 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.008186, allocations: 0 / 387.6 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.008367, allocations: 231.2 kB / 387.8 MB, free: 8.309 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-06/0.008373, allocations: 3.984 kB / 387.8 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-06/0.008378, allocations: 7.969 kB / 387.8 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.266e-05/0.008411, allocations: 0 / 387.8 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.00844, allocations: 16.05 kB / 387.8 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.008446, allocations: 8 kB / 387.8 MB, free: 8.273 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.485e-05/0.008481, allocations: 79.28 kB / 387.9 MB, free: 8.195 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008481, allocations: 0 / 387.9 MB, free: 8.195 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001791/0.00866, allocations: 12 kB / 387.9 MB, free: 8.184 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004214/0.009082, allocations: 0.7623 MB / 388.7 MB, free: 7.387 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.00938, allocations: 158.6 kB / 388.8 MB, free: 7.219 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.009383, allocations: 4.062 kB / 388.8 MB, free: 7.215 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.009505, allocations: 142.6 kB / 389 MB, free: 7.062 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.009685, allocations: 9 kB / 389 MB, free: 7.055 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.01077, allocations: 1.396 MB / 390.4 MB, free: 5.547 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.282e-05/0.01084, allocations: 67.34 kB / 390.4 MB, free: 5.461 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.188e-05/0.01086, allocations: 4.188 kB / 390.5 MB, free: 5.457 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.0109, allocations: 12.5 kB / 390.5 MB, free: 5.445 MB / 314.7 MB Notification: Performance of SimCode: time 8.52e-07/0.0109, allocations: 0 / 390.5 MB, free: 5.445 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.02843, allocations: 2.406 MB / 392.9 MB, free: 3.242 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/7.628, allocations: 5.469 kB / 392.9 MB, free: 3.238 MB / 314.7 MB " [Timeout remaining time 652] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.472960367798805] Failed to read output from testmodel.py, exit status != 0: 7.709081799723208 7.722802691 7.717465748 Calling exit ...