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.001315/0.001315, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.001543/0.001543, allocations: 173 kB / 23.02 MB, free: 1.547 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.9948/0.9948, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.00276/0.00276, allocations: 424.2 kB / 260.4 MB, free: 12.62 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: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 330.1 MB, free: 19.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.787e-05, allocations: 2.312 kB / 330.1 MB, free: 19.33 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.001572/0.00159, allocations: 1.688 MB / 331.8 MB, free: 17.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002279/0.001818, allocations: 99.56 kB / 331.9 MB, free: 17.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.722e-05/0.001865, allocations: 4 kB / 331.9 MB, free: 17.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.421e-05/0.001909, allocations: 11.86 kB / 331.9 MB, free: 17.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.416e-05/0.001993, allocations: 35.7 kB / 331.9 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.002102, allocations: 23.91 kB / 332 MB, free: 17.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.779e-05/0.00219, allocations: 111.4 kB / 332.1 MB, free: 17.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.002288, allocations: 23.98 kB / 332.1 MB, free: 17.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.439e-05/0.002362, allocations: 67.86 kB / 332.2 MB, free: 17.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.065e-05/0.002433, allocations: 31.91 kB / 332.2 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.002454, allocations: 12 kB / 332.2 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.002468, allocations: 8 kB / 332.2 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.002486, allocations: 23.91 kB / 332.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.002516, allocations: 35.92 kB / 332.3 MB, free: 17.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.002616, allocations: 71.67 kB / 332.3 MB, free: 17.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.002618, allocations: 0 / 332.3 MB, free: 17.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.002619, allocations: 4 kB / 332.3 MB, free: 17.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.002623, allocations: 0 / 332.3 MB, free: 17.07 MB / 266.7 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.0003266/0.00295, allocations: 428.5 kB / 332.8 MB, free: 16.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.00298, allocations: 8.031 kB / 332.8 MB, free: 16.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.003023, allocations: 24.84 kB / 332.8 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.003127, allocations: 128.5 kB / 332.9 MB, free: 16.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.003138, allocations: 12.55 kB / 332.9 MB, free: 16.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.003158, allocations: 8.375 kB / 332.9 MB, free: 16.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.003262, allocations: 74.72 kB / 333 MB, free: 16.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.003274, allocations: 11.94 kB / 333 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.003284, allocations: 0 / 333 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.003291, allocations: 4 kB / 333 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.765e-05/0.003349, allocations: 43.28 kB / 333.1 MB, free: 16.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.003664, allocations: 347.6 kB / 333.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.003769, allocations: 83.16 kB / 333.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.003803, allocations: 31.78 kB / 333.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.475e-06/0.003812, allocations: 7.984 kB / 333.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.003826, allocations: 33.39 kB / 333.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.001e-06/0.003827, allocations: 0 / 333.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006153/0.004442, allocations: 0.4994 MB / 334.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.772e-05/0.00446, allocations: 59.28 kB / 334.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.866e-05/0.004508, allocations: 173.9 kB / 334.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.004515, allocations: 29.7 kB / 334.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.004547, allocations: 146.8 kB / 334.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.004568, allocations: 63.44 kB / 334.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.004599, allocations: 39.38 kB / 334.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.2e-05/0.004641, allocations: 0.4884 MB / 335 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.734e-05/0.004668, allocations: 19.98 kB / 335.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.053e-05/0.004709, allocations: 60.58 kB / 335.1 MB, free: 14.02 MB / 266.7 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.000298/0.005007, allocations: 182.8 kB / 335.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.005008, allocations: 0 / 335.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001376/0.005145, allocations: 149.2 kB / 335.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.005155, allocations: 4 kB / 335.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.005159, allocations: 0 / 335.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001041/0.005264, allocations: 35.64 kB / 335.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.212e-05/0.005316, allocations: 23.98 kB / 335.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005797/0.005895, allocations: 2.028 MB / 337.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.818e-05/0.005924, allocations: 8 kB / 337.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.00593, allocations: 4 kB / 337.6 MB, free: 11.45 MB / 266.7 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 6.026e-05/0.00599, allocations: 176.8 kB / 337.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.00601, allocations: 15.89 kB / 337.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.463e-05/0.006024, allocations: 16.78 kB / 337.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.006026, allocations: 4 kB / 337.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.006029, allocations: 0 / 337.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.006031, allocations: 0 / 337.8 MB, free: 11.23 MB / 266.7 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.0002839/0.006315, allocations: 475.8 kB / 338.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.006316, allocations: 0 / 338.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.006384, allocations: 32.02 kB / 338.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.331e-05/0.006427, allocations: 15.69 kB / 338.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.006437, allocations: 8 kB / 338.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003549/0.006792, allocations: 1.736 MB / 340 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006793, allocations: 0 / 340 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.006955, allocations: 334.5 kB / 340.3 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.006961, allocations: 7.953 kB / 340.4 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.006971, allocations: 11.94 kB / 340.4 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.791e-05/0.007009, allocations: 0 / 340.4 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.00703, allocations: 15.98 kB / 340.4 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.007034, allocations: 4 kB / 340.4 MB, free: 8.383 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.957e-05/0.007054, allocations: 131.5 kB / 340.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007054, allocations: 4 kB / 340.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001929/0.007247, allocations: 28 kB / 340.5 MB, free: 8.223 MB / 266.7 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 5.706e-05/0.007304, allocations: 103.2 kB / 340.6 MB, free: 8.113 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.007547, allocations: 276.7 kB / 340.9 MB, free: 7.824 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.007549, allocations: 0 / 340.9 MB, free: 7.824 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.335e-05/0.007623, allocations: 213.5 kB / 341.1 MB, free: 7.594 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.007855, allocations: 28.58 kB / 341.1 MB, free: 7.566 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.008291, allocations: 347.8 kB / 341.5 MB, free: 7.191 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.971e-05/0.008321, allocations: 79.69 kB / 341.6 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.136e-05/0.008352, allocations: 8.656 kB / 341.6 MB, free: 7.082 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.008376, allocations: 20.44 kB / 341.6 MB, free: 7.062 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008377, allocations: 0 / 341.6 MB, free: 7.062 MB / 266.7 MB Notification: Performance of Templates: time 0.003005/0.01138, allocations: 1.578 MB / 343.2 MB, free: 5.547 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile [Timeout 660] (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 & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.657641575206071]