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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 105.3 kB / 16.27 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 190.1 kB / 17.2 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.00352/0.00352, allocations: 0.5581 MB / 291.6 MB, free: 14.27 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 55.91 kB / 352.2 MB, free: 1.617 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2939, allocations: 49.58 MB / 401.8 MB, free: 36.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.003769/0.2977, allocations: 1.642 MB / 403.5 MB, free: 34.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004281/0.2981, allocations: 103.7 kB / 403.6 MB, free: 34.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.2983, allocations: 7.031 kB / 403.6 MB, free: 34.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.656e-05/0.2984, allocations: 19.86 kB / 403.6 MB, free: 34.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.2985, allocations: 31.7 kB / 403.6 MB, free: 34.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.2987, allocations: 19.97 kB / 403.6 MB, free: 34.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.2988, allocations: 103.5 kB / 403.7 MB, free: 34.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.299, allocations: 31.98 kB / 403.8 MB, free: 34.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.282e-05/0.2991, allocations: 43.86 kB / 403.8 MB, free: 34.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.434e-05/0.2992, allocations: 47.78 kB / 403.9 MB, free: 34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.2992, allocations: 8 kB / 403.9 MB, free: 33.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.36e-05/0.2993, allocations: 8 kB / 403.9 MB, free: 33.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.184e-05/0.2993, allocations: 19.92 kB / 403.9 MB, free: 33.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.2994, allocations: 47.8 kB / 403.9 MB, free: 33.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.2995, allocations: 109.6 kB / 404 MB, free: 33.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2995, allocations: 0 / 404 MB, free: 33.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2996, allocations: 0 / 404 MB, free: 33.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.2996, allocations: 4 kB / 404 MB, free: 33.81 MB / 302.1 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.0005635/0.3001, allocations: 395.4 kB / 404.4 MB, free: 33.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.3002, allocations: 11.89 kB / 404.4 MB, free: 33.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.3003, allocations: 16.75 kB / 404.5 MB, free: 33.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.3005, allocations: 184.2 kB / 404.6 MB, free: 33.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3005, allocations: 12.56 kB / 404.7 MB, free: 33.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.3005, allocations: 16.28 kB / 404.7 MB, free: 33.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.3008, allocations: 96.22 kB / 404.8 MB, free: 33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.3008, allocations: 0 / 404.8 MB, free: 33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.3008, allocations: 8 kB / 404.8 MB, free: 32.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3008, allocations: 0 / 404.8 MB, free: 32.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.3009, allocations: 55.97 kB / 404.8 MB, free: 32.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.3015, allocations: 396.5 kB / 405.2 MB, free: 32.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.3017, allocations: 118.3 kB / 405.3 MB, free: 32.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/0.3018, allocations: 32.84 kB / 405.4 MB, free: 32.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.3018, allocations: 0 / 405.4 MB, free: 32.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.3019, allocations: 38.56 kB / 405.4 MB, free: 32.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.3019, allocations: 0 / 405.4 MB, free: 32.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001079/0.303, allocations: 0.6833 MB / 406.1 MB, free: 31.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.303, allocations: 51.41 kB / 406.1 MB, free: 31.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.184e-05/0.3031, allocations: 121.8 kB / 406.2 MB, free: 31.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.3031, allocations: 29.7 kB / 406.3 MB, free: 31.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.3031, allocations: 96.31 kB / 406.4 MB, free: 31.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.3032, allocations: 67.17 kB / 406.4 MB, free: 31.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.3032, allocations: 33.72 kB / 406.5 MB, free: 31.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.068e-05/0.3033, allocations: 318.8 kB / 406.8 MB, free: 30.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.245e-05/0.3033, allocations: 35.98 kB / 406.8 MB, free: 30.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.3034, allocations: 66.45 kB / 406.9 MB, free: 30.66 MB / 302.1 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.0006342/0.304, allocations: 408.7 kB / 407.3 MB, free: 30.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3041, allocations: 3.938 kB / 407.3 MB, free: 30.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002084/0.3043, allocations: 166.2 kB / 407.4 MB, free: 30.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3043, allocations: 4 kB / 407.5 MB, free: 30.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.3043, allocations: 0 / 407.5 MB, free: 30.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/0.3044, allocations: 36.83 kB / 407.5 MB, free: 30 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.603e-05/0.3045, allocations: 23.94 kB / 407.5 MB, free: 29.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009097/0.3055, allocations: 1.619 MB / 409.1 MB, free: 28.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.158e-05/0.3055, allocations: 8.094 kB / 409.1 MB, free: 28.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.3055, allocations: 8 kB / 409.1 MB, free: 28.19 MB / 302.1 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 9.065e-05/0.3056, allocations: 129.7 kB / 409.3 MB, free: 28.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.3057, allocations: 11.84 kB / 409.3 MB, free: 28.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.3057, allocations: 16.83 kB / 409.3 MB, free: 28.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3057, allocations: 4 kB / 409.3 MB, free: 28.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3057, allocations: 0 / 409.3 MB, free: 28.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3057, allocations: 0 / 409.3 MB, free: 28.02 MB / 302.1 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.0005332/0.3063, allocations: 0.598 MB / 409.9 MB, free: 27.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3063, allocations: 3.938 kB / 409.9 MB, free: 27.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.3064, allocations: 27.98 kB / 409.9 MB, free: 27.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-05/0.3065, allocations: 20.95 kB / 410 MB, free: 27.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3065, allocations: 4 kB / 410 MB, free: 27.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006303/0.3071, allocations: 1.367 MB / 411.3 MB, free: 25.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3071, allocations: 0 / 411.3 MB, free: 25.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.3074, allocations: 302.8 kB / 411.6 MB, free: 25.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.3074, allocations: 93.02 kB / 411.7 MB, free: 25.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.3075, allocations: 7.938 kB / 411.7 MB, free: 25.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.3076, allocations: 11.94 kB / 411.7 MB, free: 25.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.3076, allocations: 11.98 kB / 411.7 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3076, allocations: 8.062 kB / 411.7 MB, free: 25.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.942e-05/0.3076, allocations: 100.7 kB / 411.8 MB, free: 25.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3076, allocations: 0 / 411.8 MB, free: 25.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.308, allocations: 32 kB / 411.9 MB, free: 25.16 MB / 302.1 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.747e-05/0.308, allocations: 98.12 kB / 412 MB, free: 25.06 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.3084, allocations: 229.7 kB / 412.2 MB, free: 24.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3084, allocations: 8 kB / 412.2 MB, free: 24.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.3086, allocations: 170.5 kB / 412.4 MB, free: 24.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.3089, allocations: 19.98 kB / 412.4 MB, free: 24.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000569/0.3095, allocations: 420.4 kB / 412.8 MB, free: 24.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.3097, allocations: 0.7085 MB / 413.5 MB, free: 23.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.3097, allocations: 15.44 kB / 413.5 MB, free: 23.42 MB / 302.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3097, allocations: 0 / 413.5 MB, free: 23.42 MB / 302.1 MB Notification: Performance of Templates: time 0.003384/0.3131, allocations: 1.974 MB / 415.5 MB, free: 21.45 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile (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=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)