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.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.001857/0.001857, allocations: 88.72 kB / 19.44 MB, free: 352 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.002305/0.002305, allocations: 157.7 kB / 22.76 MB, free: 1.676 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.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.003272/0.003272, allocations: 420.2 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.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 329.4 MB, free: 19.67 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.319e-05, allocations: 2.312 kB / 329.4 MB, free: 19.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.002003/0.002026, allocations: 1.649 MB / 331 MB, free: 18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002529/0.002279, allocations: 91.69 kB / 331.1 MB, free: 17.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.002334, allocations: 0 / 331.1 MB, free: 17.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.504e-05/0.002379, allocations: 11.86 kB / 331.1 MB, free: 17.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.651e-05/0.002475, allocations: 31.7 kB / 331.2 MB, free: 17.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.002588, allocations: 31.91 kB / 331.2 MB, free: 17.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.917e-05/0.002687, allocations: 115.4 kB / 331.3 MB, free: 17.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.002804, allocations: 23.92 kB / 331.3 MB, free: 17.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.256e-05/0.002897, allocations: 63.88 kB / 331.4 MB, free: 17.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.98e-05/0.002967, allocations: 27.91 kB / 331.4 MB, free: 17.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.002992, allocations: 8 kB / 331.4 MB, free: 17.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.779e-05/0.00302, allocations: 12 kB / 331.4 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.003043, allocations: 23.91 kB / 331.5 MB, free: 17.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.003085, allocations: 35.92 kB / 331.5 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.003216, allocations: 107.6 kB / 331.6 MB, free: 17.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003218, allocations: 0 / 331.6 MB, free: 17.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.003219, allocations: 4 kB / 331.6 MB, free: 17.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.003223, 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.0004118/0.003635, allocations: 318.2 kB / 331.9 MB, free: 17.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.003666, allocations: 8.031 kB / 331.9 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.003716, allocations: 20.89 kB / 331.9 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.003833, allocations: 133.6 kB / 332.1 MB, free: 16.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.003845, allocations: 4.562 kB / 332.1 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.003872, allocations: 8.375 kB / 332.1 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.00403, allocations: 105.5 kB / 332.2 MB, free: 16.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.004042, allocations: 7.891 kB / 332.2 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.004054, allocations: 0 / 332.2 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.004059, allocations: 4 kB / 332.2 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.084e-05/0.00415, allocations: 51.97 kB / 332.3 MB, free: 16.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.004524, allocations: 308.2 kB / 332.6 MB, free: 16.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.004665, allocations: 98.73 kB / 332.7 MB, free: 16.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.054e-05/0.004716, allocations: 36.78 kB / 332.7 MB, free: 16.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.004728, allocations: 0 / 332.7 MB, free: 16.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.004743, allocations: 42.56 kB / 332.7 MB, free: 16.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 8.52e-07/0.004744, allocations: 0 / 332.7 MB, free: 16.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008505/0.005594, allocations: 0.5427 MB / 333.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.005614, allocations: 55.34 kB / 333.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.192e-05/0.005676, allocations: 113.8 kB / 333.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.005686, allocations: 25.7 kB / 333.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.005721, allocations: 108 kB / 333.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.005759, allocations: 59.48 kB / 333.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.0058, allocations: 37.67 kB / 333.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.069e-05/0.005841, allocations: 322.8 kB / 334 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-05/0.005902, allocations: 31.98 kB / 334 MB, free: 14.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.847e-05/0.00596, allocations: 62.55 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.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005709/0.006531, allocations: 257.5 kB / 334.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.006532, allocations: 4 kB / 334.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002125/0.006745, allocations: 178.3 kB / 334.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.006756, allocations: 4 kB / 334.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.00676, allocations: 0 / 334.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001421/0.006902, allocations: 32.84 kB / 334.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.706e-05/0.006989, allocations: 23.98 kB / 334.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007773/0.007767, allocations: 1.489 MB / 336 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/0.007826, allocations: 4 kB / 336.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.007834, allocations: 4 kB / 336.1 MB, free: 12.63 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.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 7.305e-05/0.007907, allocations: 129.8 kB / 336.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.007941, allocations: 19.89 kB / 336.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.007969, allocations: 12.78 kB / 336.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.00797, allocations: 4 kB / 336.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.007973, allocations: 0 / 336.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007976, allocations: 8.047 kB / 336.2 MB, free: 12.45 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.0004368/0.008413, allocations: 432 kB / 336.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.008416, allocations: 4 kB / 336.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.008532, allocations: 27.92 kB / 336.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-05/0.008596, allocations: 20.84 kB / 336.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.008606, allocations: 8.062 kB / 336.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005344/0.009141, allocations: 1.248 MB / 338 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.009143, allocations: 4.031 kB / 338 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.009393, allocations: 306.1 kB / 338.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.009404, allocations: 7.953 kB / 338.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.009418, allocations: 4 kB / 338.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.0095, allocations: 8.219 kB / 338.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.009524, allocations: 15.97 kB / 338.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.009531, allocations: 7.984 kB / 338.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.852e-05/0.00956, allocations: 95.58 kB / 338.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00956, allocations: 0 / 338.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003164/0.009876, allocations: 36 kB / 338.4 MB, free: 10.07 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.069e-05/0.009947, allocations: 103.1 kB / 338.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003335/0.01028, allocations: 234.5 kB / 338.8 MB, free: 9.715 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01028, allocations: 0 / 338.8 MB, free: 9.715 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.01041, allocations: 158.6 kB / 338.9 MB, free: 9.547 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.01075, allocations: 19.98 kB / 338.9 MB, free: 9.527 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004653/0.01121, allocations: 353.4 kB / 339.3 MB, free: 9.148 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.199e-05/0.01126, allocations: 96.67 kB / 339.4 MB, free: 9.035 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.051e-05/0.01131, allocations: 12.64 kB / 339.4 MB, free: 9.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.01134, allocations: 12.5 kB / 339.4 MB, free: 9.008 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01134, allocations: 0 / 339.4 MB, free: 9.008 MB / 266.7 MB Notification: Performance of Templates: time 0.004/0.01534, allocations: 1.507 MB / 340.9 MB, free: 7.582 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.386552589945495]