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.001783/0.001783, allocations: 85.48 kB / 19.44 MB, free: 340 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.001984/0.001984, allocations: 177.2 kB / 22.76 MB, free: 1.656 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 1.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.258 MB / 186.7 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.003292/0.003292, allocations: 434.6 kB / 260 MB, free: 12.53 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 1.452e-06/1.452e-06, allocations: 0 / 329.4 MB, free: 19.67 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.272e-05, allocations: 2.312 kB / 329.4 MB, free: 19.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002021/0.002044, allocations: 1.668 MB / 331 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002173/0.002261, allocations: 91.64 kB / 331.1 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.507e-05/0.002316, allocations: 0 / 331.1 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.982e-05/0.002356, allocations: 19.86 kB / 331.2 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.849e-05/0.002455, allocations: 35.69 kB / 331.2 MB, free: 17.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.913e-05/0.002554, allocations: 27.91 kB / 331.2 MB, free: 17.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.002656, allocations: 107.5 kB / 331.3 MB, free: 17.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.002757, allocations: 31.91 kB / 331.4 MB, free: 17.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.652e-05/0.002843, allocations: 59.89 kB / 331.4 MB, free: 17.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.592e-05/0.002919, allocations: 31.89 kB / 331.4 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.00294, allocations: 8 kB / 331.5 MB, free: 17.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.908e-05/0.002959, allocations: 16 kB / 331.5 MB, free: 17.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.002979, allocations: 19.92 kB / 331.5 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.003017, allocations: 43.84 kB / 331.5 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.003138, allocations: 103.7 kB / 331.6 MB, free: 17.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.00314, allocations: 3.984 kB / 331.6 MB, free: 17.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003141, allocations: 0 / 331.6 MB, free: 17.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.003145, allocations: 0 / 331.6 MB, free: 17.39 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.0004239/0.003569, allocations: 424.2 kB / 332 MB, free: 16.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.003599, allocations: 12.03 kB / 332.1 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.00365, allocations: 20.89 kB / 332.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.00376, allocations: 136.4 kB / 332.2 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.003772, allocations: 8.562 kB / 332.2 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.003794, allocations: 12.38 kB / 332.2 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.003934, allocations: 92.41 kB / 332.3 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.003948, allocations: 3.953 kB / 332.3 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.00396, allocations: 4 kB / 332.3 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.003965, allocations: 0 / 332.3 MB, free: 16.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.97e-05/0.004065, allocations: 55.97 kB / 332.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.004491, allocations: 379.5 kB / 332.8 MB, free: 16.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.004636, allocations: 115 kB / 332.9 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/0.004687, allocations: 39.61 kB / 332.9 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.004703, allocations: 4 kB / 332.9 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.207e-05/0.004715, allocations: 37.39 kB / 332.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.004716, allocations: 0 / 332.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.000851/0.005567, allocations: 0.5582 MB / 333.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.781e-05/0.005585, allocations: 59.34 kB / 333.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.61e-05/0.005651, allocations: 185.9 kB / 333.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.00566, allocations: 25.7 kB / 333.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.005699, allocations: 150.8 kB / 333.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.005728, allocations: 63.44 kB / 334 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.005774, allocations: 47.36 kB / 334 MB, free: 14.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.681e-05/0.005831, allocations: 0.5 MB / 334.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.121e-05/0.005882, allocations: 32 kB / 334.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.37e-05/0.005946, allocations: 71.03 kB / 334.6 MB, free: 14.13 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.0004169/0.006363, allocations: 243.9 kB / 334.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.006364, allocations: 0 / 334.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001703/0.006534, allocations: 145.6 kB / 335 MB, free: 13.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.006546, allocations: 6.812 kB / 335 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006552, allocations: 7.938 kB / 335 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.006565, allocations: 0 / 335 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.006727, allocations: 39.97 kB / 335.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.006733, allocations: 4 kB / 335.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.006777, allocations: 0 / 335.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.006785, allocations: 8.031 kB / 335.1 MB, free: 13.67 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 6.637e-05/0.006851, allocations: 180.5 kB / 335.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.006884, allocations: 11.95 kB / 335.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.006927, allocations: 16.72 kB / 335.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.00693, allocations: 4 kB / 335.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.006934, allocations: 0 / 335.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.006937, allocations: 0 / 335.3 MB, free: 13.45 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.0004752/0.007412, allocations: 0.5115 MB / 335.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.007414, allocations: 0 / 335.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.00753, allocations: 27.98 kB / 335.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001099/0.00764, allocations: 23.62 kB / 335.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.007652, allocations: 8.25 kB / 335.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006593/0.008311, allocations: 1.771 MB / 337.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.008312, allocations: 0 / 337.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.008579, allocations: 378.4 kB / 338 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.008591, allocations: 11.89 kB / 338 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.008605, allocations: 0 / 338 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.00868, allocations: 4 kB / 338 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.008708, allocations: 11.98 kB / 338 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.008716, allocations: 8 kB / 338 MB, free: 10.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.172e-05/0.008747, allocations: 139.1 kB / 338.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008747, allocations: 96 / 338.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.008998, allocations: 32 kB / 338.2 MB, free: 10.31 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 7.476e-05/0.009073, allocations: 95.25 kB / 338.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.009276, allocations: 118.5 kB / 338.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.009278, allocations: 0 / 338.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.009495, allocations: 244.3 kB / 338.6 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.009833, allocations: 32.06 kB / 338.7 MB, free: 9.809 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.01027, allocations: 351.4 kB / 339 MB, free: 9.426 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.024e-05/0.01032, allocations: 92.67 kB / 339.1 MB, free: 9.316 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.094e-05/0.01036, allocations: 12.64 kB / 339.1 MB, free: 9.305 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.01039, allocations: 16.5 kB / 339.1 MB, free: 9.289 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01039, allocations: 0 / 339.1 MB, free: 9.289 MB / 266.7 MB Notification: Performance of Templates: time 0.0045/0.01489, allocations: 1.439 MB / 340.6 MB, free: 7.922 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: 4.337785372976214]