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.00142/0.00142, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001663/0.001663, allocations: 157.6 kB / 22.75 MB, free: 1.68 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 1.485/1.485, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.00293/0.00293, allocations: 427.5 kB / 260 MB, free: 12.66 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.994e-06/1.994e-06, allocations: 3.938 kB / 329.4 MB, free: 19.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.816e-05, allocations: 4.703 kB / 329.4 MB, free: 19.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002201/0.002229, allocations: 1.631 MB / 331 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002951/0.002524, allocations: 91.69 kB / 331.1 MB, free: 17.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.002601, allocations: 4 kB / 331.1 MB, free: 17.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.994e-05/0.002651, allocations: 11.86 kB / 331.1 MB, free: 17.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.002765, allocations: 35.64 kB / 331.1 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.002891, allocations: 31.91 kB / 331.2 MB, free: 17.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.003009, allocations: 115.4 kB / 331.3 MB, free: 17.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.003128, allocations: 23.92 kB / 331.3 MB, free: 17.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.999e-05/0.003228, allocations: 63.88 kB / 331.4 MB, free: 17.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.462e-05/0.003303, allocations: 31.89 kB / 331.4 MB, free: 17.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.003324, allocations: 8 kB / 331.4 MB, free: 17.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.663e-05/0.00334, allocations: 12 kB / 331.4 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.00336, allocations: 15.92 kB / 331.4 MB, free: 17.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.003404, allocations: 39.91 kB / 331.5 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.003531, allocations: 103.7 kB / 331.6 MB, free: 17.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-06/0.003533, allocations: 0 / 331.6 MB, free: 17.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.003534, allocations: 4 kB / 331.6 MB, free: 17.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.003538, allocations: 0 / 331.6 MB, free: 17.43 MB / 266.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.000404/0.003942, allocations: 322.2 kB / 331.9 MB, free: 17.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.003975, allocations: 12.03 kB / 331.9 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.004029, allocations: 16.89 kB / 331.9 MB, free: 17.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.004168, allocations: 125.7 kB / 332.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.004181, allocations: 8.562 kB / 332.1 MB, free: 16.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.004215, allocations: 16.36 kB / 332.1 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.004371, allocations: 94.67 kB / 332.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.004385, allocations: 3.953 kB / 332.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.004398, allocations: 11.98 kB / 332.2 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.004402, allocations: 0 / 332.2 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.196e-05/0.004494, allocations: 58.97 kB / 332.2 MB, free: 16.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.004873, allocations: 304.3 kB / 332.5 MB, free: 16.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.005021, allocations: 98.66 kB / 332.6 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.944e-05/0.00507, allocations: 36.8 kB / 332.7 MB, free: 16.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.005085, allocations: 4 kB / 332.7 MB, free: 16.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.005102, allocations: 42.48 kB / 332.7 MB, free: 16.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.005103, allocations: 0 / 332.7 MB, free: 16.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008284/0.005932, allocations: 0.5416 MB / 333.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.00595, allocations: 55.34 kB / 333.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.407e-05/0.006024, allocations: 113.8 kB / 333.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/0.006034, allocations: 29.7 kB / 333.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.006065, allocations: 100 kB / 333.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.006091, allocations: 59.44 kB / 333.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.006131, allocations: 37.72 kB / 333.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.836e-05/0.00617, allocations: 322.8 kB / 334 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.933e-05/0.006219, allocations: 35.98 kB / 334 MB, free: 14.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.952e-05/0.006279, allocations: 60.11 kB / 334.1 MB, free: 14.74 MB / 266.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.0004423/0.006721, allocations: 214 kB / 334.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.006722, allocations: 0 / 334.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001674/0.006889, allocations: 149.6 kB / 334.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.006901, allocations: 11.97 kB / 334.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.006915, allocations: 0 / 334.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.006937, allocations: 4 kB / 334.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.007099, allocations: 39.91 kB / 334.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.007105, allocations: 0 / 334.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.007149, allocations: 8 kB / 334.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.007157, allocations: 4 kB / 334.5 MB, free: 14.31 MB / 266.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 6.806e-05/0.007226, allocations: 125.8 kB / 334.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.00726, allocations: 19.94 kB / 334.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.832e-05/0.007299, allocations: 20.72 kB / 334.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.007301, allocations: 0 / 334.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.007308, allocations: 4 kB / 334.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007311, allocations: 0 / 334.6 MB, free: 14.13 MB / 266.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.0004439/0.007755, allocations: 436.1 kB / 335.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.007757, allocations: 0 / 335.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.007888, allocations: 27.94 kB / 335.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001173/0.008005, allocations: 24.94 kB / 335.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.008017, allocations: 7.938 kB / 335.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006323/0.008649, allocations: 1.249 MB / 336.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.008651, allocations: 0 / 336.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.008924, allocations: 306.7 kB / 336.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.008936, allocations: 12.2 kB / 336.7 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.008949, allocations: 8 kB / 336.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.756e-05/0.009027, allocations: 4 kB / 336.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.009051, allocations: 7.984 kB / 336.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-06/0.009056, allocations: 4 kB / 336.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.925e-05/0.009086, allocations: 95.58 kB / 336.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009086, allocations: 4 kB / 336.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002627/0.009349, allocations: 32 kB / 336.8 MB, free: 11.75 MB / 266.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 7.675e-05/0.009425, allocations: 95.19 kB / 336.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.009603, allocations: 103.9 kB / 337 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.009606, allocations: 0 / 337 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.009807, allocations: 158.6 kB / 337.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.01012, allocations: 29.89 kB / 337.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.01055, allocations: 337.6 kB / 337.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.96e-05/0.0106, allocations: 96.67 kB / 337.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.358e-05/0.01064, allocations: 16.58 kB / 337.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.01068, allocations: 12.5 kB / 337.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01068, allocations: 4 kB / 337.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of Templates: time 0.003896/0.01458, allocations: 1.428 MB / 339.1 MB, free: 9.484 MB / 266.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=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.346581240999512]