Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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) 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) Running command: translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 239.7 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009309/0.0009308, allocations: 114.5 kB / 289.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002676/0.002676, allocations: 0.5609 MB / 340.6 MB, free: 8.215 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009529/0.0009529, allocations: 66.55 kB / 400.9 MB, free: 66.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06831/0.06927, allocations: 49.58 MB / 450.5 MB, free: 16.47 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.00211/0.07141, allocations: 1.72 MB / 452.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001779/0.07161, allocations: 99.61 kB / 452.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.07166, allocations: 0 / 452.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.487e-05/0.07172, allocations: 11.92 kB / 452.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.119e-05/0.07181, allocations: 27.78 kB / 452.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.376e-05/0.07191, allocations: 23.97 kB / 452.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.785e-05/0.072, allocations: 103.5 kB / 452.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.07212, allocations: 23.94 kB / 452.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.487e-05/0.07217, allocations: 43.8 kB / 452.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.579e-05/0.07224, allocations: 39.83 kB / 452.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.07226, allocations: 8 kB / 452.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.739e-05/0.07228, allocations: 4 kB / 452.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.07231, allocations: 23.92 kB / 452.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.07236, allocations: 47.73 kB / 452.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.087e-05/0.07246, allocations: 107.9 kB / 452.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.07247, allocations: 0 / 452.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.07247, allocations: 0 / 452.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.07248, allocations: 0 / 452.8 MB, free: 14.19 MB / 298.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.0003754/0.07286, allocations: 399.4 kB / 453.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.0729, allocations: 12.03 kB / 453.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.07294, allocations: 12.84 kB / 453.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.07305, allocations: 196.1 kB / 453.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.07306, allocations: 8.562 kB / 453.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.07309, allocations: 4.375 kB / 453.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.07323, allocations: 97.97 kB / 453.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.07325, allocations: 0 / 453.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.07327, allocations: 4 kB / 453.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.07328, allocations: 7.938 kB / 453.5 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.318e-05/0.07337, allocations: 55.91 kB / 453.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.07376, allocations: 392.7 kB / 454 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.0739, allocations: 102.4 kB / 454.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.75e-05/0.07396, allocations: 36.84 kB / 454.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.07398, allocations: 8 kB / 454.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.074, allocations: 30.56 kB / 454.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.123e-06/0.07401, allocations: 0 / 454.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008315/0.07484, allocations: 0.6814 MB / 454.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.747e-05/0.07487, allocations: 55.41 kB / 454.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.419e-05/0.07494, allocations: 121.8 kB / 455 MB, free: 11.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.07496, allocations: 29.7 kB / 455 MB, free: 11.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.07499, allocations: 96.31 kB / 455.1 MB, free: 11.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.07502, allocations: 55.2 kB / 455.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.07507, allocations: 37.7 kB / 455.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.733e-05/0.07511, allocations: 326.8 kB / 455.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.933e-05/0.07517, allocations: 31.98 kB / 455.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.912e-05/0.07523, allocations: 65.45 kB / 455.6 MB, free: 11.05 MB / 298.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.0005812/0.07582, allocations: 421.7 kB / 456 MB, free: 10.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.07583, allocations: 0 / 456 MB, free: 10.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001996/0.07603, allocations: 163.1 kB / 456.2 MB, free: 10.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.07605, allocations: 4 kB / 456.2 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.07606, allocations: 4 kB / 456.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000104/0.07617, allocations: 24.84 kB / 456.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/0.07627, allocations: 31.92 kB / 456.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007151/0.07699, allocations: 1.456 MB / 457.7 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.585e-05/0.07705, allocations: 4.031 kB / 457.7 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.07706, allocations: 8 kB / 457.7 MB, free: 8.754 MB / 298.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 7.035e-05/0.07714, allocations: 126.8 kB / 457.8 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.07717, allocations: 15.84 kB / 457.9 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.0772, allocations: 12.84 kB / 457.9 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.07721, allocations: 4 kB / 457.9 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.07722, allocations: 4 kB / 457.9 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.07723, allocations: 0 / 457.9 MB, free: 8.582 MB / 298.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.0004459/0.07768, allocations: 0.5986 MB / 458.5 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.07769, allocations: 3.984 kB / 458.5 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.0778, allocations: 24 kB / 458.5 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-05/0.07787, allocations: 20.94 kB / 458.5 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.07789, allocations: 7.938 kB / 458.5 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004811/0.07837, allocations: 1.276 MB / 459.8 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.07839, allocations: 8.094 kB / 459.8 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.07993, allocations: 2.747 MB / 462.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.07996, allocations: 85.05 kB / 462.7 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.07998, allocations: 11.98 kB / 462.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.08006, allocations: 224 / 462.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.08009, allocations: 15.98 kB / 462.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.944e-06/0.0801, allocations: 7.938 kB / 462.7 MB, free: 3.242 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.088e-05/0.08013, allocations: 100.8 kB / 462.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08014, allocations: 0 / 462.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003679/0.08051, allocations: 40 kB / 462.8 MB, free: 3.105 MB / 298.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.842e-05/0.08058, allocations: 105.6 kB / 462.9 MB, free: 2.996 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.08088, allocations: 226.6 kB / 463.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.0809, allocations: 0 / 463.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.08104, allocations: 166.5 kB / 463.3 MB, free: 2.586 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.08134, allocations: 26.59 kB / 463.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/0.08199, allocations: 0.6993 MB / 464 MB, free: 1.797 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.08211, allocations: 0.7166 MB / 464.8 MB, free: 1.055 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.549e-05/0.08216, allocations: 13.03 kB / 464.8 MB, free: 1.043 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.08219, allocations: 15.44 kB / 464.8 MB, free: 1.027 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.0822, allocations: 0 / 464.8 MB, free: 1.027 MB / 298.7 MB Notification: Performance of Templates: time 0.00341/0.08561, allocations: 1.647 MB / 466.4 MB, free: 15.43 MB / 314.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1)