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.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.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001368, allocations: 102.9 kB / 16.27 MB, free: 5.922 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.001434/0.001434, allocations: 186.3 kB / 17.19 MB, free: 5.559 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.5/1.5, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.002969/0.002969, allocations: 0.5686 MB / 291.6 MB, free: 14.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 68.08 kB / 352.2 MB, free: 1.594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2922, allocations: 49.59 MB / 401.8 MB, free: 36.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002527/0.2948, allocations: 1.654 MB / 403.5 MB, free: 34.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002246/0.2951, allocations: 103.7 kB / 403.6 MB, free: 34.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.753e-05/0.2951, allocations: 0 / 403.6 MB, free: 34.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.756e-05/0.2952, allocations: 15.86 kB / 403.6 MB, free: 34.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.248e-05/0.2953, allocations: 27.72 kB / 403.6 MB, free: 34.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.2954, allocations: 23.97 kB / 403.6 MB, free: 34.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.614e-05/0.2955, allocations: 111.5 kB / 403.7 MB, free: 34.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.2957, allocations: 35.98 kB / 403.8 MB, free: 34.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.139e-05/0.2957, allocations: 31.92 kB / 403.8 MB, free: 34.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.853e-05/0.2958, allocations: 47.78 kB / 403.9 MB, free: 33.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.2958, allocations: 8 kB / 403.9 MB, free: 33.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.043e-05/0.2959, allocations: 11.94 kB / 403.9 MB, free: 33.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.2959, allocations: 27.91 kB / 403.9 MB, free: 33.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.877e-05/0.2959, allocations: 47.8 kB / 404 MB, free: 33.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.2961, allocations: 109.6 kB / 404.1 MB, free: 33.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2961, allocations: 3.984 kB / 404.1 MB, free: 33.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2961, allocations: 0 / 404.1 MB, free: 33.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.2961, allocations: 0 / 404.1 MB, free: 33.77 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.0004412/0.2965, allocations: 395.4 kB / 404.4 MB, free: 33.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.2966, allocations: 12.03 kB / 404.5 MB, free: 33.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.2966, allocations: 16.75 kB / 404.5 MB, free: 33.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.2968, allocations: 184.3 kB / 404.7 MB, free: 33.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.2968, allocations: 8.5 kB / 404.7 MB, free: 33.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.2968, allocations: 12.28 kB / 404.7 MB, free: 33.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.297, allocations: 100.8 kB / 404.8 MB, free: 32.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.297, allocations: 0 / 404.8 MB, free: 32.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.297, allocations: 0 / 404.8 MB, free: 32.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.297, allocations: 4 kB / 404.8 MB, free: 32.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.56e-05/0.2971, allocations: 59.95 kB / 404.8 MB, free: 32.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.2975, allocations: 400.5 kB / 405.2 MB, free: 32.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.2977, allocations: 94.56 kB / 405.3 MB, free: 32.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/0.2978, allocations: 36.84 kB / 405.4 MB, free: 32.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.2978, allocations: 4 kB / 405.4 MB, free: 32.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.2978, allocations: 38.5 kB / 405.4 MB, free: 32.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.2978, allocations: 0 / 405.4 MB, free: 32.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008865/0.2987, allocations: 0.6861 MB / 406.1 MB, free: 31.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.2987, allocations: 55.39 kB / 406.1 MB, free: 31.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.085e-05/0.2988, allocations: 121.8 kB / 406.3 MB, free: 31.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.2988, allocations: 29.7 kB / 406.3 MB, free: 31.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.2989, allocations: 100.3 kB / 406.4 MB, free: 31.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.2989, allocations: 55.2 kB / 406.4 MB, free: 31.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.2989, allocations: 33.7 kB / 406.5 MB, free: 31.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.299, allocations: 318.8 kB / 406.8 MB, free: 30.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.174e-05/0.2991, allocations: 31.98 kB / 406.8 MB, free: 30.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.309e-05/0.2991, allocations: 71.02 kB / 406.9 MB, free: 30.64 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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.2996, allocations: 368.5 kB / 407.2 MB, free: 30.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2996, allocations: 4 kB / 407.2 MB, free: 30.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001629/0.2998, allocations: 149.4 kB / 407.4 MB, free: 30.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.2998, allocations: 4 kB / 407.4 MB, free: 30.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2998, allocations: 3.938 kB / 407.4 MB, free: 30.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2998, allocations: 4 kB / 407.4 MB, free: 30.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.3, allocations: 39.91 kB / 407.4 MB, free: 30.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.3, allocations: 0 / 407.4 MB, free: 30.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.431e-05/0.3, allocations: 4 kB / 407.4 MB, free: 30.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3001, allocations: 8 kB / 407.5 MB, free: 30.02 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.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.509e-05/0.3001, allocations: 137.7 kB / 407.6 MB, free: 29.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.3002, allocations: 11.84 kB / 407.6 MB, free: 29.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/0.3002, allocations: 16.83 kB / 407.6 MB, free: 29.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3002, allocations: 4 kB / 407.6 MB, free: 29.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3002, allocations: 0 / 407.6 MB, free: 29.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3002, allocations: 0 / 407.6 MB, free: 29.84 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.0004877/0.3007, allocations: 0.5942 MB / 408.2 MB, free: 29.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3007, allocations: 0 / 408.2 MB, free: 29.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.3009, allocations: 27.98 kB / 408.2 MB, free: 29.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.301, allocations: 24.78 kB / 408.3 MB, free: 29.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.301, allocations: 8.281 kB / 408.3 MB, free: 29.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006517/0.3017, allocations: 1.375 MB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3017, allocations: 0 / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.3019, allocations: 302.3 kB / 409.9 MB, free: 27.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.302, allocations: 89.03 kB / 410 MB, free: 27.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.302, allocations: 4 kB / 410 MB, free: 27.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.3021, allocations: 7.938 kB / 410 MB, free: 27.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.3021, allocations: 15.92 kB / 410.1 MB, free: 27.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.3021, allocations: 4 kB / 410.1 MB, free: 27.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.571e-05/0.3021, allocations: 96.8 kB / 410.2 MB, free: 27.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3022, allocations: 0 / 410.2 MB, free: 27.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.3024, allocations: 32.06 kB / 410.2 MB, free: 26.98 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.287e-05/0.3025, allocations: 95.25 kB / 410.3 MB, free: 26.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.3027, allocations: 111.8 kB / 410.4 MB, free: 26.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3027, allocations: 4 kB / 410.4 MB, free: 26.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.3029, allocations: 158.6 kB / 410.6 MB, free: 26.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.3033, allocations: 28.23 kB / 410.6 MB, free: 26.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.3038, allocations: 419.9 kB / 411 MB, free: 26.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.304, allocations: 0.7045 MB / 411.7 MB, free: 25.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.304, allocations: 15.44 kB / 411.7 MB, free: 25.38 MB / 302.1 MB Notification: Performance of SimCode: time 9.52e-07/0.304, allocations: 3.938 kB / 411.7 MB, free: 25.38 MB / 302.1 MB Notification: Performance of Templates: time 0.003032/0.3071, allocations: 1.709 MB / 413.4 MB, free: 23.68 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile (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=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1)