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.001287/0.001287, allocations: 110.1 kB / 16.41 MB, free: 6.496 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.001216/0.001216, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.239/1.239, allocations: 222.9 MB / 241 MB, free: 15.17 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.002576/0.002576, allocations: 0.5812 MB / 291.8 MB, free: 14.19 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.91 kB / 403.1 MB, free: 32.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07857/0.07976, allocations: 49.58 MB / 452.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002597/0.0824, allocations: 1.657 MB / 454.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000245/0.08267, allocations: 91.69 kB / 454.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.08273, allocations: 7.938 kB / 454.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.87e-05/0.08279, allocations: 15.86 kB / 454.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.066e-05/0.08289, allocations: 23.78 kB / 454.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.08302, allocations: 23.91 kB / 454.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.08315, allocations: 115.5 kB / 454.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.08329, allocations: 35.97 kB / 454.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.219e-05/0.08336, allocations: 47.86 kB / 454.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.615e-05/0.08345, allocations: 39.78 kB / 454.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.08348, allocations: 8 kB / 454.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.941e-05/0.0835, allocations: 15.94 kB / 454.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.08353, allocations: 23.91 kB / 454.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.08358, allocations: 47.81 kB / 454.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.08371, allocations: 107.6 kB / 454.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.08372, allocations: 0 / 454.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.08373, allocations: 0 / 454.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.08374, allocations: 0 / 454.9 MB, free: 12.29 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.0004597/0.0842, allocations: 403.3 kB / 455.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.08424, allocations: 11.89 kB / 455.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.08429, allocations: 12.84 kB / 455.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.08443, allocations: 184.2 kB / 455.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.08445, allocations: 12.5 kB / 455.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.08448, allocations: 8.375 kB / 455.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.08466, allocations: 96.22 kB / 455.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.08468, allocations: 4 kB / 455.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.0847, allocations: 8 kB / 455.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.08471, allocations: 0 / 455.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.08481, allocations: 59.95 kB / 455.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.08529, allocations: 384.6 kB / 456.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.08546, allocations: 98.48 kB / 456.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.08553, allocations: 49 kB / 456.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.08555, allocations: 0 / 456.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.08557, allocations: 34.56 kB / 456.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.08558, allocations: 0 / 456.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009809/0.08656, allocations: 0.6851 MB / 456.9 MB, free: 10 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.08661, allocations: 55.41 kB / 457 MB, free: 9.938 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/0.08671, allocations: 129.7 kB / 457.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.08674, allocations: 25.7 kB / 457.1 MB, free: 9.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.0868, allocations: 104.3 kB / 457.2 MB, free: 9.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.08684, allocations: 55.2 kB / 457.3 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.08689, allocations: 29.72 kB / 457.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.087, allocations: 322.8 kB / 457.6 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.626e-05/0.08706, allocations: 39.98 kB / 457.7 MB, free: 9.207 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.08714, allocations: 66.44 kB / 457.7 MB, free: 9.133 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.0006596/0.0878, allocations: 417.1 kB / 458.2 MB, free: 8.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.08781, allocations: 0 / 458.2 MB, free: 8.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002328/0.08805, allocations: 166.2 kB / 458.3 MB, free: 8.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.08808, allocations: 4 kB / 458.3 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.08809, allocations: 0 / 458.3 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001285/0.08822, allocations: 32.83 kB / 458.4 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.08832, allocations: 32.02 kB / 458.4 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.08941, allocations: 1.607 MB / 460 MB, free: 6.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.08947, allocations: 8.031 kB / 460 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.08949, allocations: 4 kB / 460 MB, free: 6.676 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 9.904e-05/0.08959, allocations: 129.7 kB / 460.1 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.08963, allocations: 19.8 kB / 460.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.08967, allocations: 12.84 kB / 460.2 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.08968, allocations: 4.062 kB / 460.2 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.08969, allocations: 4 kB / 460.2 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.08969, allocations: 0 / 460.2 MB, free: 6.504 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.0005801/0.09028, allocations: 0.5943 MB / 460.8 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.09029, allocations: 11.88 kB / 460.8 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.09042, allocations: 27.98 kB / 460.8 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.008e-05/0.09049, allocations: 24.94 kB / 460.8 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.09051, allocations: 4 kB / 460.8 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007633/0.09127, allocations: 1.363 MB / 462.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.09129, allocations: 7.969 kB / 462.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.09159, allocations: 310.7 kB / 462.5 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.09164, allocations: 85.02 kB / 462.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.09165, allocations: 0 / 462.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.09174, allocations: 7.938 kB / 462.6 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.09177, allocations: 11.98 kB / 462.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.09178, allocations: 8 kB / 462.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.815e-05/0.09183, allocations: 92.8 kB / 462.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09184, allocations: 8.062 kB / 462.7 MB, free: 3.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.09213, allocations: 28 kB / 462.7 MB, free: 3.652 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 8.393e-05/0.09222, allocations: 103.2 kB / 462.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003776/0.09261, allocations: 222.3 kB / 463.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.09262, allocations: 0 / 463.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.09279, allocations: 170.7 kB / 463.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.09311, allocations: 19.98 kB / 463.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.09371, allocations: 424.1 kB / 463.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.09393, allocations: 0.7046 MB / 464.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.09397, allocations: 15.44 kB / 464.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09398, allocations: 0 / 464.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of Templates: time 0.003282/0.09727, allocations: 1.985 MB / 466.4 MB, free: 15.93 MB / 350.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)