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.006044/0.006049, allocations: 101.8 kB / 15.73 MB, free: 6.004 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.001564/0.001564, allocations: 193.3 kB / 16.67 MB, free: 5.922 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.002536/0.002536, allocations: 0.5785 MB / 291.1 MB, free: 14.14 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 55.91 kB / 402.4 MB, free: 32.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08846/0.08959, allocations: 49.58 MB / 452 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002964/0.0926, allocations: 1.641 MB / 453.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000276/0.09289, allocations: 103.6 kB / 453.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.159e-05/0.09296, allocations: 0 / 453.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.634e-05/0.09303, allocations: 15.86 kB / 453.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.09314, allocations: 27.72 kB / 453.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.09328, allocations: 23.97 kB / 453.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.09342, allocations: 111.5 kB / 453.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.09357, allocations: 35.97 kB / 453.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.463e-05/0.09364, allocations: 39.86 kB / 454 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.99e-05/0.09375, allocations: 43.78 kB / 454 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.09378, allocations: 11.98 kB / 454 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.836e-05/0.09381, allocations: 8 kB / 454 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.09384, allocations: 23.92 kB / 454.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.09391, allocations: 47.8 kB / 454.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.09406, allocations: 107.5 kB / 454.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.09407, allocations: 4 kB / 454.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09408, allocations: 0 / 454.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.09409, allocations: 3.938 kB / 454.2 MB, free: 12.27 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.0004932/0.09459, allocations: 403.2 kB / 454.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.09463, allocations: 15.89 kB / 454.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.09467, allocations: 8.891 kB / 454.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.09485, allocations: 192.2 kB / 454.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.09487, allocations: 4.562 kB / 454.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.09491, allocations: 12.38 kB / 454.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.09511, allocations: 96.22 kB / 454.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.09513, allocations: 0 / 454.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.09514, allocations: 0 / 454.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.09516, allocations: 4 kB / 455 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.09528, allocations: 63.89 kB / 455 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.0958, allocations: 392.6 kB / 455.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.09599, allocations: 106.4 kB / 455.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/0.09608, allocations: 36.86 kB / 455.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.0961, allocations: 4 kB / 455.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.09613, allocations: 38.55 kB / 455.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.09613, allocations: 0 / 455.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001023/0.09716, allocations: 0.6775 MB / 456.3 MB, free: 9.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.0972, allocations: 55.62 kB / 456.3 MB, free: 9.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.09731, allocations: 139.1 kB / 456.4 MB, free: 9.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.09733, allocations: 25.7 kB / 456.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.09741, allocations: 104.3 kB / 456.6 MB, free: 9.629 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.09745, allocations: 55.48 kB / 456.6 MB, free: 9.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.09751, allocations: 33.7 kB / 456.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.09761, allocations: 322.8 kB / 457 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.889e-05/0.09768, allocations: 31.98 kB / 457 MB, free: 9.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.231e-05/0.09776, allocations: 58.56 kB / 457.1 MB, free: 9.113 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.0006787/0.09845, allocations: 417.2 kB / 457.5 MB, free: 8.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.09846, allocations: 4 kB / 457.5 MB, free: 8.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002382/0.0987, allocations: 166.3 kB / 457.6 MB, free: 8.488 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.09873, allocations: 8 kB / 457.6 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.09874, allocations: 0 / 457.6 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/0.09887, allocations: 24.84 kB / 457.7 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.304e-05/0.09897, allocations: 27.92 kB / 457.7 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.1002, allocations: 1.615 MB / 459.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.1002, allocations: 4 kB / 459.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1002, allocations: 12.09 kB / 459.3 MB, free: 6.648 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.0001067/0.1004, allocations: 137.6 kB / 459.5 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.1004, allocations: 11.95 kB / 459.5 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.1004, allocations: 16.78 kB / 459.5 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1004, allocations: 0 / 459.5 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1005, allocations: 4 kB / 459.5 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1005, allocations: 0 / 459.5 MB, free: 6.477 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.000615/0.1011, allocations: 0.5981 MB / 460.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1011, allocations: 7.922 kB / 460.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.1012, allocations: 20 kB / 460.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.375e-05/0.1013, allocations: 24.78 kB / 460.1 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1013, allocations: 4.094 kB / 460.1 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008607/0.1022, allocations: 1.371 MB / 461.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1022, allocations: 3.938 kB / 461.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.1025, allocations: 302.8 kB / 461.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.1026, allocations: 89.22 kB / 461.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.1026, allocations: 8 kB / 461.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/0.1027, allocations: 7.938 kB / 461.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.1027, allocations: 15.92 kB / 461.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.1027, allocations: 4 kB / 461.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.427e-05/0.1028, allocations: 95.27 kB / 462 MB, free: 3.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1028, allocations: 0 / 462 MB, free: 3.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000305/0.1031, allocations: 32 kB / 462.1 MB, free: 3.625 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 9.195e-05/0.1032, allocations: 103.2 kB / 462.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004022/0.1036, allocations: 226.3 kB / 462.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1036, allocations: 0 / 462.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.1038, allocations: 170.6 kB / 462.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1042, allocations: 35.12 kB / 462.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/0.1048, allocations: 401.5 kB / 463 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.1051, allocations: 0.7085 MB / 463.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.176e-05/0.1051, allocations: 5.094 kB / 463.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.1052, allocations: 15.44 kB / 463.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1052, allocations: 0 / 463.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of Templates: time 0.003847/0.109, allocations: 1.458 MB / 465.2 MB, free: 480 kB / 334.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)