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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 107.1 kB / 16.41 MB, free: 6.453 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.001093/0.001093, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.15 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.00297/0.00297, allocations: 0.5641 MB / 291.8 MB, free: 14.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 67.89 kB / 403.1 MB, free: 32.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08527/0.08665, allocations: 49.59 MB / 452.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.002952/0.08965, allocations: 1.654 MB / 454.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002896/0.08996, allocations: 95.67 kB / 454.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.683e-05/0.09005, allocations: 3.938 kB / 454.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.991e-05/0.09012, allocations: 15.86 kB / 454.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.09027, allocations: 27.72 kB / 454.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.09043, allocations: 23.97 kB / 454.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.09059, allocations: 107.5 kB / 454.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.09077, allocations: 35.98 kB / 454.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.09088, allocations: 43.8 kB / 454.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.09102, allocations: 43.78 kB / 454.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.09106, allocations: 12 kB / 454.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.564e-05/0.0911, allocations: 8 kB / 454.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.25e-05/0.09113, allocations: 23.91 kB / 454.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.063e-05/0.09121, allocations: 47.8 kB / 454.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.0914, allocations: 111.6 kB / 454.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.09141, allocations: 0 / 454.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.09142, allocations: 0 / 454.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.09143, allocations: 0 / 454.9 MB, free: 12.24 MB / 334.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.0006015/0.09204, allocations: 395.4 kB / 455.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.0921, allocations: 11.89 kB / 455.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.09216, allocations: 16.84 kB / 455.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.09235, allocations: 200.1 kB / 455.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.09237, allocations: 0.5625 kB / 455.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.09242, allocations: 12.38 kB / 455.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.09261, allocations: 100 kB / 455.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.09264, allocations: 4 kB / 455.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.09266, allocations: 0 / 455.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.09267, allocations: 0 / 455.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.09279, allocations: 55.97 kB / 455.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.09337, allocations: 392.5 kB / 456.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.09357, allocations: 102.5 kB / 456.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.03e-05/0.09365, allocations: 41.06 kB / 456.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.09367, allocations: 3.938 kB / 456.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.0937, allocations: 34.56 kB / 456.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 2.585e-06/0.09371, allocations: 4 kB / 456.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001119/0.09483, allocations: 0.6856 MB / 457 MB, free: 9.953 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.0949, allocations: 55.41 kB / 457 MB, free: 9.887 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.989e-05/0.095, allocations: 129.7 kB / 457.1 MB, free: 9.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.09503, allocations: 29.64 kB / 457.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.232e-05/0.09513, allocations: 104.3 kB / 457.3 MB, free: 9.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.09518, allocations: 59.19 kB / 457.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.09523, allocations: 25.72 kB / 457.4 MB, free: 9.516 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.09536, allocations: 322.8 kB / 457.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.063e-05/0.09543, allocations: 35.98 kB / 457.7 MB, free: 9.156 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.277e-05/0.09552, allocations: 66.45 kB / 457.8 MB, free: 9.082 MB / 334.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.0007648/0.09629, allocations: 409.3 kB / 458.2 MB, free: 8.637 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.0963, allocations: 0 / 458.2 MB, free: 8.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002615/0.09657, allocations: 170.2 kB / 458.3 MB, free: 8.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.09659, allocations: 4 kB / 458.3 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.0966, allocations: 0 / 458.3 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001307/0.09674, allocations: 32.83 kB / 458.4 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.242e-05/0.09684, allocations: 23.94 kB / 458.4 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.09809, allocations: 1.619 MB / 460 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.09816, allocations: 8.031 kB / 460 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.09818, allocations: 4 kB / 460 MB, free: 6.621 MB / 334.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 0.000114/0.0983, allocations: 133.8 kB / 460.2 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.09833, allocations: 11.81 kB / 460.2 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.09837, allocations: 16.83 kB / 460.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.09838, allocations: 4 kB / 460.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.09839, allocations: 0 / 460.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.0984, allocations: 0 / 460.2 MB, free: 6.453 MB / 334.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.0006327/0.09903, allocations: 0.6057 MB / 460.8 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.09905, allocations: 3.938 kB / 460.8 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.09919, allocations: 27.98 kB / 460.8 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.999e-05/0.09925, allocations: 16.86 kB / 460.8 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.09927, allocations: 4 kB / 460.9 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008655/0.1001, allocations: 1.375 MB / 462.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1002, allocations: 160 / 462.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.1005, allocations: 310.1 kB / 462.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.1005, allocations: 93 kB / 462.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.1006, allocations: 4 kB / 462.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/0.1007, allocations: 16 kB / 462.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.1007, allocations: 7.984 kB / 462.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.1007, allocations: 4 kB / 462.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.092e-05/0.1008, allocations: 99.27 kB / 462.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1008, allocations: 3.938 kB / 462.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.1011, allocations: 28 kB / 462.8 MB, free: 3.594 MB / 334.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 0.0001078/0.1012, allocations: 101.9 kB / 462.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004311/0.1016, allocations: 226.5 kB / 463.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1016, allocations: 0 / 463.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.1018, allocations: 162.6 kB / 463.3 MB, free: 3.078 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.1022, allocations: 31.19 kB / 463.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006466/0.1028, allocations: 420.2 kB / 463.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.1031, allocations: 0.7046 MB / 464.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.1032, allocations: 15.44 kB / 464.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1032, allocations: 0 / 464.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of Templates: time 0.003471/0.1066, allocations: 1.985 MB / 466.4 MB, free: 15.88 MB / 350.1 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)