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.001451/0.001451, allocations: 93.06 kB / 19.65 MB, free: 272 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.001169/0.001169, allocations: 165 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.9715/0.9715, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.002441/0.002441, allocations: 423.3 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.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 330.1 MB, free: 19.31 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.954e-05, allocations: 6.312 kB / 330.1 MB, free: 19.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.00262/0.002649, allocations: 1.693 MB / 331.8 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003395/0.002989, allocations: 95.62 kB / 331.9 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.003058, allocations: 4 kB / 331.9 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.894e-05/0.003117, allocations: 11.86 kB / 331.9 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.003232, allocations: 35.64 kB / 331.9 MB, free: 17.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.003373, allocations: 31.89 kB / 332 MB, free: 17.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.003493, allocations: 111.5 kB / 332.1 MB, free: 17.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.003625, allocations: 23.97 kB / 332.1 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.003734, allocations: 63.88 kB / 332.2 MB, free: 17.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.554e-05/0.00383, allocations: 35.89 kB / 332.2 MB, free: 17.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.003861, allocations: 8 kB / 332.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.936e-05/0.00388, allocations: 8 kB / 332.2 MB, free: 17.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.003906, allocations: 19.92 kB / 332.2 MB, free: 17.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.003949, allocations: 35.91 kB / 332.3 MB, free: 17.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.004095, allocations: 67.75 kB / 332.3 MB, free: 17.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.004099, allocations: 4 kB / 332.3 MB, free: 17.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.004099, allocations: 4 kB / 332.3 MB, free: 17.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.004104, allocations: 0 / 332.3 MB, free: 17.04 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.0004327/0.004537, allocations: 420.5 kB / 332.8 MB, free: 16.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.00458, allocations: 12.03 kB / 332.8 MB, free: 16.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.004633, allocations: 20.84 kB / 332.8 MB, free: 16.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.004797, allocations: 132.5 kB / 332.9 MB, free: 16.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.004815, allocations: 8.562 kB / 332.9 MB, free: 16.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.004857, allocations: 12.38 kB / 332.9 MB, free: 16.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.005013, allocations: 78.72 kB / 333 MB, free: 16.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.005027, allocations: 7.953 kB / 333 MB, free: 16.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.005042, allocations: 4 kB / 333 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.005053, allocations: 7.938 kB / 333 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.756e-05/0.00514, allocations: 35.34 kB / 333.1 MB, free: 16.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.005587, allocations: 343.5 kB / 333.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.005742, allocations: 87.16 kB / 333.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.913e-05/0.005801, allocations: 31.61 kB / 333.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.005811, allocations: 0 / 333.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.005829, allocations: 41.39 kB / 333.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.00583, allocations: 0 / 333.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009265/0.006757, allocations: 0.5123 MB / 334.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.006781, allocations: 63.28 kB / 334.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.006857, allocations: 173.9 kB / 334.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.006868, allocations: 25.7 kB / 334.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.006917, allocations: 142.8 kB / 334.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.006956, allocations: 63.42 kB / 334.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.007004, allocations: 39.38 kB / 334.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.007049, allocations: 0.4962 MB / 335.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.613e-05/0.007095, allocations: 19.98 kB / 335.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.336e-05/0.007159, allocations: 56.58 kB / 335.1 MB, free: 13.98 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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.007479, allocations: 149.4 kB / 335.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.00748, allocations: 0 / 335.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001857/0.007666, allocations: 125.1 kB / 335.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.007692, allocations: 8 kB / 335.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.007699, allocations: 3.938 kB / 335.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.007719, allocations: 4.031 kB / 335.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.007887, allocations: 43.91 kB / 335.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.007894, allocations: 0 / 335.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.084e-05/0.007935, allocations: 4 kB / 335.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.007944, allocations: 4 kB / 335.5 MB, free: 13.64 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.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 7.506e-05/0.008019, allocations: 172.5 kB / 335.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.008055, allocations: 11.95 kB / 335.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.507e-05/0.008101, allocations: 20.7 kB / 335.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.008104, allocations: 0 / 335.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.008111, allocations: 8 kB / 335.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.008114, allocations: 3.938 kB / 335.7 MB, free: 13.41 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.0005097/0.008624, allocations: 463.9 kB / 336.1 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.008627, allocations: 3.984 kB / 336.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.008741, allocations: 27.94 kB / 336.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/0.008877, allocations: 19.67 kB / 336.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.008891, allocations: 8.344 kB / 336.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007473/0.009638, allocations: 1.728 MB / 337.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.009642, allocations: 7.938 kB / 337.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.009913, allocations: 318.5 kB / 338.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.009928, allocations: 19.86 kB / 338.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.009945, allocations: 8.156 kB / 338.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.01002, allocations: 4 kB / 338.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.01005, allocations: 15.92 kB / 338.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.01006, allocations: 4 kB / 338.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.49e-05/0.01009, allocations: 135.5 kB / 338.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01009, allocations: 0 / 338.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000314/0.01041, allocations: 28 kB / 338.5 MB, free: 10.42 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 9.709e-05/0.0105, allocations: 95.25 kB / 338.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.01072, allocations: 95.52 kB / 338.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01072, allocations: 0 / 338.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.01094, allocations: 221.5 kB / 338.9 MB, free: 9.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.01131, allocations: 19.03 kB / 338.9 MB, free: 9.965 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.01187, allocations: 344 kB / 339.2 MB, free: 9.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.789e-05/0.01192, allocations: 75.7 kB / 339.3 MB, free: 9.496 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.14e-05/0.01197, allocations: 12.64 kB / 339.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.01201, allocations: 12.5 kB / 339.3 MB, free: 9.473 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01201, allocations: 4 kB / 339.3 MB, free: 9.469 MB / 266.7 MB Notification: Performance of Templates: time 0.004433/0.01644, allocations: 1.439 MB / 340.8 MB, free: 8.098 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile [Timeout 660] (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 & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.94933857396245]