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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009721/0.0009721, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 177 kB / 23.5 MB, free: 1.051 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9485/0.9485, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.002158/0.002158, allocations: 420.2 kB / 260.7 MB, free: 12.71 MB / 250.7 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 330.1 MB, free: 4.863 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.632e-05, allocations: 5.125 kB / 330.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002519/0.002545, allocations: 1.689 MB / 331.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003297/0.002875, allocations: 99.58 kB / 331.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.002937, allocations: 0 / 331.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.893e-05/0.002986, allocations: 19.84 kB / 331.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.0031, allocations: 35.64 kB / 332 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.003233, allocations: 19.98 kB / 332 MB, free: 2.984 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.003347, allocations: 115.4 kB / 332.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.003482, allocations: 27.98 kB / 332.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.003582, allocations: 63.88 kB / 332.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.133e-05/0.003664, allocations: 27.91 kB / 332.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.003688, allocations: 19.98 kB / 332.2 MB, free: 2.734 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.003701, allocations: 8 kB / 332.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.003723, allocations: 15.92 kB / 332.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.003761, allocations: 39.91 kB / 332.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.003883, allocations: 75.73 kB / 332.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003885, allocations: 0 / 332.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.003886, allocations: 0 / 332.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.00389, allocations: 0 / 332.4 MB, free: 2.598 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.0004228/0.004313, allocations: 424.5 kB / 332.8 MB, free: 2.145 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.004353, allocations: 8.031 kB / 332.8 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.004405, allocations: 24.84 kB / 332.8 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.004554, allocations: 136.4 kB / 332.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.004565, allocations: 4.562 kB / 332.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.00459, allocations: 12.38 kB / 333 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.00472, allocations: 74.72 kB / 333 MB, free: 1.859 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.004732, allocations: 4 kB / 333 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.004746, allocations: 4 kB / 333 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.004754, allocations: 0 / 333 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.149e-05/0.004826, allocations: 42.91 kB / 333.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.005266, allocations: 347.6 kB / 333.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.005414, allocations: 91.08 kB / 333.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.00546, allocations: 35.61 kB / 333.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.005469, allocations: 0 / 333.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.005494, allocations: 37.39 kB / 333.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.005495, allocations: 0 / 333.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008032/0.006298, allocations: 0.4918 MB / 334.1 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.006328, allocations: 59.28 kB / 334.1 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.796e-05/0.006416, allocations: 181.8 kB / 334.3 MB, free: 432 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.006429, allocations: 29.7 kB / 334.3 MB, free: 396 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.006486, allocations: 142.6 kB / 334.5 MB, free: 248 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.006517, allocations: 59.48 kB / 334.5 MB, free: 188 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.006559, allocations: 43.36 kB / 334.6 MB, free: 136 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.006682, allocations: 0.4923 MB / 335.1 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.006718, allocations: 19.98 kB / 335.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.205e-05/0.00677, allocations: 51.05 kB / 335.1 MB, free: 15.55 MB / 314.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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.007019, allocations: 162.7 kB / 335.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.007021, allocations: 0 / 335.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001407/0.007162, allocations: 113.6 kB / 335.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.007177, allocations: 8 kB / 335.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.007185, allocations: 7.922 kB / 335.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.007197, allocations: 0 / 335.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.007322, allocations: 35.92 kB / 335.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.007329, allocations: 4 kB / 335.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.548e-05/0.007355, allocations: 4 kB / 335.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.007361, allocations: 8.031 kB / 335.5 MB, free: 15.2 MB / 314.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.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 8.169e-05/0.007443, allocations: 172.5 kB / 335.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.007466, allocations: 11.95 kB / 335.7 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.007502, allocations: 20.72 kB / 335.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007504, allocations: 0 / 335.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.007511, allocations: 0 / 335.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.007516, allocations: 4 kB / 335.7 MB, free: 14.98 MB / 314.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.0004391/0.007955, allocations: 479.8 kB / 336.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.007957, allocations: 0 / 336.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.561e-05/0.008043, allocations: 31.92 kB / 336.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/0.008161, allocations: 15.69 kB / 336.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.008173, allocations: 4 kB / 336.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.009222, allocations: 1.74 MB / 337.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.009224, allocations: 0 / 337.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.009461, allocations: 329.6 kB / 338.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.009471, allocations: 11.89 kB / 338.3 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.009482, allocations: 4 kB / 338.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.102e-05/0.009523, allocations: 4 kB / 338.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.00955, allocations: 19.91 kB / 338.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.009556, allocations: 4 kB / 338.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.175e-05/0.009598, allocations: 131.2 kB / 338.4 MB, free: 12.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009598, allocations: 4.094 kB / 338.4 MB, free: 12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001724/0.00977, allocations: 28 kB / 338.5 MB, free: 11.98 MB / 314.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 0.0001025/0.009873, allocations: 99.23 kB / 338.6 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.01003, allocations: 90.28 kB / 338.6 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01004, allocations: 0 / 338.6 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.01024, allocations: 221.7 kB / 338.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.01047, allocations: 29.66 kB / 338.9 MB, free: 11.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.01091, allocations: 338.2 kB / 339.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.244e-05/0.01095, allocations: 67.84 kB / 339.3 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.86e-05/0.01099, allocations: 16.64 kB / 339.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.01102, allocations: 12.5 kB / 339.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01102, allocations: 0 / 339.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of Templates: time 0.003222/0.01425, allocations: 1.44 MB / 340.8 MB, free: 9.648 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile [Timeout 660] (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=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.769130256958306]