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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002579/0.002579, allocations: 0.5657 MB / 303.2 MB, free: 3.609 MB / 238.1 MB " [Timeout remaining time 180] 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.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 0.001892/0.001892, allocations: 67.89 kB / 421.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2412, allocations: 52.3 MB / 473.8 MB, free: 28.19 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.001489/0.2427, allocations: 0.5116 MB / 474.3 MB, free: 27.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001437/0.2428, allocations: 22.06 kB / 474.3 MB, free: 27.87 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.2428, allocations: 7.938 kB / 474.3 MB, free: 27.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.323e-05/0.2428, allocations: 0 / 474.3 MB, free: 27.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.803e-05/0.2429, allocations: 3.25 kB / 474.3 MB, free: 27.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.243, allocations: 19.3 kB / 474.3 MB, free: 27.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.377e-05/0.243, allocations: 16.98 kB / 474.4 MB, free: 27.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.2431, allocations: 0 / 474.4 MB, free: 27.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.811e-05/0.2431, allocations: 13.69 kB / 474.4 MB, free: 27.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.2431, allocations: 7.422 kB / 474.4 MB, free: 27.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.2432, allocations: 6.906 kB / 474.4 MB, free: 27.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-06/0.2432, allocations: 0 / 474.4 MB, free: 27.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.2432, allocations: 7.188 kB / 474.4 MB, free: 27.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.2432, allocations: 15.3 kB / 474.4 MB, free: 27.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.46e-05/0.2433, allocations: 13.97 kB / 474.4 MB, free: 27.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2433, allocations: 0 / 474.4 MB, free: 27.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2433, allocations: 0 / 474.4 MB, free: 27.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.2433, allocations: 0 / 474.4 MB, free: 27.81 MB / 366.1 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.000305/0.2436, allocations: 340.7 kB / 474.8 MB, free: 27.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2436, allocations: 9.375 kB / 474.8 MB, free: 27.45 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.178e-05/0.2436, allocations: 30.75 kB / 474.8 MB, free: 27.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.2437, allocations: 19.28 kB / 474.8 MB, free: 27.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.602e-05/0.2437, allocations: 167.7 kB / 475 MB, free: 27.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.2438, allocations: 4.375 kB / 475 MB, free: 27.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.2438, allocations: 3.75 kB / 475 MB, free: 27.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.197e-05/0.2439, allocations: 47.11 kB / 475 MB, free: 27.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2439, allocations: 7.922 kB / 475 MB, free: 27.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.2439, allocations: 4 kB / 475 MB, free: 27.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2439, allocations: 3.516 kB / 475 MB, free: 27.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.427e-05/0.2439, allocations: 9.312 kB / 475.1 MB, free: 27.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.2441, allocations: 245 kB / 475.3 MB, free: 26.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.782e-05/0.2442, allocations: 63.56 kB / 475.4 MB, free: 26.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.2442, allocations: 11.7 kB / 475.4 MB, free: 26.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.2443, allocations: 4 kB / 475.4 MB, free: 26.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/0.2443, allocations: 33.75 kB / 475.4 MB, free: 26.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2443, allocations: 0 / 475.4 MB, free: 26.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005368/0.2448, allocations: 0.5017 MB / 475.9 MB, free: 26.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.2448, allocations: 51.41 kB / 476 MB, free: 26.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.779e-05/0.2449, allocations: 99.42 kB / 476.1 MB, free: 26.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.2449, allocations: 29.7 kB / 476.1 MB, free: 26.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.775e-05/0.2449, allocations: 84.14 kB / 476.2 MB, free: 26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.2449, allocations: 26.47 kB / 476.2 MB, free: 25.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.2449, allocations: 26.53 kB / 476.2 MB, free: 25.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.698e-05/0.245, allocations: 318.2 kB / 476.5 MB, free: 25.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/0.245, allocations: 20.94 kB / 476.5 MB, free: 25.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.079e-05/0.245, allocations: 33.39 kB / 476.6 MB, free: 25.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.2453, allocations: 251.4 kB / 476.8 MB, free: 25.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.2453, allocations: 0 / 476.8 MB, free: 25.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001254/0.2454, allocations: 97.2 kB / 476.9 MB, free: 25.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2454, allocations: 3.031 kB / 476.9 MB, free: 25.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2454, allocations: 2.938 kB / 476.9 MB, free: 25.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001032/0.2455, allocations: 29.64 kB / 477 MB, free: 25.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.805e-05/0.2456, allocations: 12.84 kB / 477 MB, free: 25.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000687/0.2462, allocations: 1.382 MB / 478.4 MB, free: 23.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.061e-05/0.2463, allocations: 4 kB / 478.4 MB, free: 23.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.2463, allocations: 3.281 kB / 478.4 MB, free: 23.87 MB / 366.1 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.000111/0.2464, allocations: 121.2 kB / 478.5 MB, free: 23.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.2464, allocations: 3.469 kB / 478.5 MB, free: 23.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.894e-05/0.2464, allocations: 11.25 kB / 478.5 MB, free: 23.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2464, allocations: 0 / 478.5 MB, free: 23.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2464, allocations: 3.188 kB / 478.5 MB, free: 23.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2464, allocations: 96 / 478.5 MB, free: 23.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.2467, allocations: 377.8 kB / 478.9 MB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2467, allocations: 3.031 kB / 478.9 MB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/0.2468, allocations: 10.88 kB / 478.9 MB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.718e-05/0.2468, allocations: 29.53 kB / 478.9 MB, free: 23.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.2468, allocations: 3.281 kB / 478.9 MB, free: 23.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005757/0.2474, allocations: 1.391 MB / 480.3 MB, free: 21.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2474, allocations: 0 / 480.3 MB, free: 21.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.2476, allocations: 234 kB / 480.5 MB, free: 21.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.2476, allocations: 77.11 kB / 480.6 MB, free: 21.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.2476, allocations: 10.62 kB / 480.6 MB, free: 21.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.569e-05/0.2477, allocations: 0 / 480.6 MB, free: 21.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.2477, allocations: 17.47 kB / 480.6 MB, free: 21.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.2477, allocations: 3.188 kB / 480.6 MB, free: 21.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.598e-05/0.2477, allocations: 75.28 kB / 480.7 MB, free: 21.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2477, allocations: 0 / 480.7 MB, free: 21.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.2479, allocations: 13.62 kB / 480.7 MB, free: 21.54 MB / 366.1 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.0002945/0.2482, allocations: 0.7631 MB / 481.5 MB, free: 20.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.2485, allocations: 167.5 kB / 481.6 MB, free: 20.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2485, allocations: 0 / 481.6 MB, free: 20.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.2486, allocations: 147.1 kB / 481.8 MB, free: 20.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.2488, allocations: 17.33 kB / 481.8 MB, free: 20.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008172/0.2496, allocations: 1.39 MB / 483.2 MB, free: 19.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.614e-05/0.2497, allocations: 0.6846 MB / 483.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.793e-05/0.2497, allocations: 3.344 kB / 483.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.2498, allocations: 14.59 kB / 483.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2498, allocations: 0 / 483.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.2758, allocations: 1.794 MB / 485.7 MB, free: 18.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.584/9.859, allocations: 10.7 kB / 485.7 MB, free: 18.12 MB / 366.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.20560956839472] Failed to read output from testmodel.py, exit status != 0: 9.940432868897915 9.959552893 9.712475713 Calling exit ...